Class CrowdRememberMeAuthentication
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
com.atlassian.crowd.integration.springsecurity.CrowdRememberMeAuthentication
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class CrowdRememberMeAuthentication
extends org.springframework.security.authentication.AbstractAuthenticationToken
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCrowdRememberMeAuthentication
(User principal) CrowdRememberMeAuthentication
(Object principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAuthenticated
(boolean isAuthenticated) Disallow setAuthenticated(true).Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
Constructor Details
-
CrowdRememberMeAuthentication
-
CrowdRememberMeAuthentication
public CrowdRememberMeAuthentication(Object principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details
-
getCredentials
-
getPrincipal
-
setAuthenticated
Disallow setAuthenticated(true).Use constructor containing GrantedAuthority[]s instead.
- Specified by:
setAuthenticated
in interfaceorg.springframework.security.core.Authentication
- Overrides:
setAuthenticated
in classorg.springframework.security.authentication.AbstractAuthenticationToken
- Parameters:
isAuthenticated
- must befalse
.- Throws:
IllegalArgumentException
- throwd if isAuthenticated paramater is set totrue
.
-