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
Fields Modifier and Type Field Description 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
Constructors Constructor Description LoginEvent(Object src, String username, String sessionId, String remoteHost, String remoteIP, LoginDetails loginDetails)
LoginEvent(Object src, String username, String sessionId, String remoteHost, String remoteIP, String loginSource)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginDetails
getLoginDetails()
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.confluence.event.events.ConfluenceEvent
equals, hashCode
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
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
-
-
Method Detail
-
getLoginSource
public String getLoginSource()
-
getLoginDetails
public LoginDetails getLoginDetails()
- Since:
- 7.5
-
-