Class LDAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
com.logicaldoc.core.security.spring.LDAuthenticationToken
- All Implemented Interfaces:
 Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class LDAuthenticationToken
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
A LogicalDOC aware authentication token
- Since:
 - 7.5
 - Author:
 - Marco Meschieri - LogicalDOC
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionLDAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) LDAuthenticationToken(String username) Constructor for the anonymous login - 
Method Summary
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
eraseCredentials, getCredentials, getPrincipal, setAuthenticatedMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails 
- 
Field Details
- 
COOKIE_SID
- See Also:
 
 - 
PARAM_SID
- See Also:
 
 
 - 
 - 
Constructor Details
- 
LDAuthenticationToken
Constructor for the anonymous login- Parameters:
 username- the username
 - 
LDAuthenticationToken
public LDAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)  - 
LDAuthenticationToken
public LDAuthenticationToken() 
 - 
 - 
Method Details