Style Intelligence v12.0

inetsoft.sree.security
Class AuthenticationChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by inetsoft.sree.security.AuthenticationChangeEvent
All Implemented Interfaces:
Serializable

public class AuthenticationChangeEvent
extends EventObject

Event that signals that a security object has been removed or renamed.

Since:
8.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AuthenticationChangeEvent(Object source, String oldName, String newName, int type, boolean removed)
          Creates a new instance of AuthenticationChangeEvent.
 
Method Summary
 String getNewName()
          Gets the new name of the security object.
 String getOldName()
          Gets the old name of the security object.
 int getType()
          Gets the type of the security object.
 boolean isRemoved()
          Determines if the security object has been removed or renamed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationChangeEvent

public AuthenticationChangeEvent(Object source,
                                 String oldName,
                                 String newName,
                                 int type,
                                 boolean removed)
Creates a new instance of AuthenticationChangeEvent.

Parameters:
source - the object on which the event originally occurred.
oldName - the old name of the security object.
newName - the new name of the security object.
type - the type of the security object. The value of this parameter must be one of the type constants defined in Identity.
removed - true if the security object has been removed; false otherwise.
Method Detail

getOldName

public String getOldName()
Gets the old name of the security object.

Returns:
the old name of the security object.

getNewName

public String getNewName()
Gets the new name of the security object.

Returns:
the new name of the security object.

getType

public int getType()
Gets the type of the security object. This value will be one of the type constants defined in Identity.

Returns:
the security object type.

isRemoved

public boolean isRemoved()
Determines if the security object has been removed or renamed.

Returns:
true if the security object has been removed; false if it has been renamed.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.