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, Serializable

public class LoginEvent
extends SecurityEvent

Event representing the act of a user successfully logging into Confluence

See Also:
Serialized Form

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

See Also:
Constant Field Values

CROWD

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

See Also:
Constant Field Values

UNKNOWN

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

See Also:
Constant Field Values
Constructor Detail

LoginEvent

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


LoginEvent

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

getLoginSource

public String getLoginSource()


Copyright © 2003–2015 Atlassian. All rights reserved.