Class LogoutEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.security.SecurityEvent
com.atlassian.confluence.event.events.security.LogoutEvent
- All Implemented Interfaces:
Authentication,Serializable
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type.booleaninthashCode()Subclasses must override this to hash their own fields.Methods inherited from class com.atlassian.confluence.event.events.security.SecurityEvent
getRemoteHost, getRemoteIP, getSessionId, getUsername, setRemoteHost, setRemoteIPMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LogoutEvent
-
LogoutEvent
-
-
Method Details
-
getExplicitLogout
public boolean getExplicitLogout()- Returns:
- true if the event was fired as a result of the user logging themselves out. Returns false for all other system related logouts such as session timeouts, elevated security checks, security-rpc calls.
-
equals
Description copied from class:ConfluenceEventEquals for ConfluenceEvents is defined such that specific sub-events are only equal to events of the same type. It is incorrect to try to make an instance of a subclass equal to an instance of any of its superclasses.Subclasses must override this to compare their own fields.
- Overrides:
equalsin classConfluenceEvent- Parameters:
o- the object to compare.- Returns:
- true, if the given object has the same runtime class as this object's runtime class, and the event sources are equal.
-
hashCode
public int hashCode()Description copied from class:ConfluenceEventSubclasses must override this to hash their own fields.- Overrides:
hashCodein classConfluenceEvent- Returns:
- the hashcode
-