com.atlassian.confluence.event.events.security
Class LogoutEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.confluence.event.events.ConfluenceEvent
                  extended by com.atlassian.confluence.event.events.security.SecurityEvent
                      extended by com.atlassian.confluence.event.events.security.LogoutEvent
All Implemented Interfaces:
Authentication, java.io.Serializable

public class LogoutEvent
extends SecurityEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LogoutEvent(java.lang.Object src, java.lang.String username, java.lang.String sessionId)
           
LogoutEvent(java.lang.Object src, java.lang.String username, java.lang.String sessionId, java.lang.String remoteHost, java.lang.String remoteIP)
           
 
Method Summary
 boolean getExplicitLogout()
           
 
Methods inherited from class com.atlassian.confluence.event.events.security.SecurityEvent
getRemoteHost, getRemoteIP, getSessionId, getUsername, setRemoteHost, setRemoteIP
 
Methods inherited from class com.atlassian.event.Event
equals, hashCode
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogoutEvent

public LogoutEvent(java.lang.Object src,
                   java.lang.String username,
                   java.lang.String sessionId)

LogoutEvent

public LogoutEvent(java.lang.Object src,
                   java.lang.String username,
                   java.lang.String sessionId,
                   java.lang.String remoteHost,
                   java.lang.String remoteIP)
Method Detail

getExplicitLogout

public boolean getExplicitLogout()
Returns:
true if the event was fired as a result of the user logging themselves out. Returns false if the logout was caused by the servlet session being destroyed.


Copyright © 2003-2014 Atlassian. All Rights Reserved.