Class LoginEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
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
Event representing the act of a user successfully logging into Confluence
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The user logged in via a remember me cookie.static final String
The user was authenticated via a remote crowd server.static final String
represents a login source where the user has explicitly typed in their username and password.static final String
The login source isn't knownFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLoginEvent
(Object src, String username, String sessionId, String remoteHost, String remoteIP, @NonNull LoginDetails loginDetails) LoginEvent
(Object src, String username, String sessionId, String remoteHost, String remoteIP, String loginSource) Deprecated. -
Method Summary
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 org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
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:
-
COOKIE
The user logged in via a remember me cookie.- See Also:
-
CROWD
The user was authenticated via a remote crowd server.- See Also:
-
UNKNOWN
The login source isn't known- See Also:
-
-
Constructor Details
-
LoginEvent
@Deprecated public LoginEvent(Object src, String username, String sessionId, String remoteHost, String remoteIP, String loginSource) Deprecated. -
LoginEvent
public LoginEvent(Object src, String username, String sessionId, String remoteHost, String remoteIP, @NonNull LoginDetails loginDetails) - Since:
- 7.5
-
-
Method Details
-
getLoginSource
-
getLoginDetails
- Since:
- 7.5
-
LoginEvent(Object, String, String, String, String, LoginDetails)