com.atlassian.confluence.event.events.security
Class LoginEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.event.events.security.SecurityEvent
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 |
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)
|
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
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
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)
getLoginSource
public String getLoginSource()