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

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.LoginEvent
All Implemented Interfaces:
Authentication, java.io.Serializable

public class LoginEvent
extends SecurityEvent

Event representing the act of a user successfully logging into Confluence

See Also:
Serialized Form

Field Summary
static java.lang.String COOKIE
          The user logged in via a remember me cookie.
static java.lang.String CROWD
          The user was authenticated via a remote crowd server.
static java.lang.String DIRECT
          represents a login source where the user has explicitly typed in their username and password.
static java.lang.String UNKNOWN
          The login source isn't known
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LoginEvent(java.lang.Object src, java.lang.String username, java.lang.String sessionId, java.lang.String remoteHost, java.lang.String remoteIP)
          Deprecated. As of 5.0 replaced by LoginEvent(Object, String, String, String, String, String).
LoginEvent(java.lang.Object src, java.lang.String username, java.lang.String sessionId, java.lang.String remoteHost, java.lang.String remoteIP, java.lang.String loginSource)
           
 
Method Summary
 java.lang.String getLoginSource()
           
 
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
 

Field Detail

DIRECT

public static final java.lang.String DIRECT
represents a login source where the user has explicitly typed in their username and password. This is either the Confluence login form or basic authentication

See Also:
Constant Field Values

COOKIE

public static final java.lang.String COOKIE
The user logged in via a remember me cookie.

See Also:
Constant Field Values

CROWD

public static final java.lang.String CROWD
The user was authenticated via a remote crowd server.

See Also:
Constant Field Values

UNKNOWN

public static final java.lang.String UNKNOWN
The login source isn't known

See Also:
Constant Field Values
Constructor Detail

LoginEvent

@Deprecated
public LoginEvent(java.lang.Object src,
                             java.lang.String username,
                             java.lang.String sessionId,
                             java.lang.String remoteHost,
                             java.lang.String remoteIP)
Deprecated. As of 5.0 replaced by LoginEvent(Object, String, String, String, String, String).


LoginEvent

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

getLoginSource

public java.lang.String getLoginSource()


Copyright © 2003-2013 Atlassian. All Rights Reserved.