Class AuthenticationChain
java.lang.Object
com.logicaldoc.core.security.authentication.AbstractAuthenticator
com.logicaldoc.core.security.authentication.AuthenticationChain
- All Implemented Interfaces:
- com.logicaldoc.core.security.authentication.Authenticator
@Component("authenticationChain")
public class AuthenticationChain
extends com.logicaldoc.core.security.authentication.AbstractAuthenticator
This authentication component implements a chain of possible authentication
 sources that will be invoked sequentially. This implementation checks license
 validity.
- Since:
- 4.5
- Author:
- Marco Meschieri
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal com.logicaldoc.core.security.user.Userauthenticate(String username, String password) final com.logicaldoc.core.security.user.Userauthenticate(String username, String password, String key, com.logicaldoc.core.security.Client client) booleancanAuthenticateUser(String user) static Stringvoidinit()Populate the providers chain using the extension point Authentication declared in the core plug-in.booleancom.logicaldoc.core.security.user.UserMethods inherited from class com.logicaldoc.core.security.authentication.AbstractAuthenticatorauthenticate
- 
Constructor Details- 
AuthenticationChainpublic AuthenticationChain()
 
- 
- 
Method Details- 
getSessionId
- 
authenticatepublic final com.logicaldoc.core.security.user.User authenticate(String username, String password) throws com.logicaldoc.core.security.authentication.AuthenticationException - Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException
 
- 
authenticatepublic final com.logicaldoc.core.security.user.User authenticate(String username, String password, String key, com.logicaldoc.core.security.Client client) throws com.logicaldoc.core.security.authentication.AuthenticationException - Specified by:
- authenticatein interface- com.logicaldoc.core.security.authentication.Authenticator
- Overrides:
- authenticatein class- com.logicaldoc.core.security.authentication.AbstractAuthenticator
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException
 
- 
pickUser
- 
canAuthenticateUser- Specified by:
- canAuthenticateUserin interface- com.logicaldoc.core.security.authentication.Authenticator
- Overrides:
- canAuthenticateUserin class- com.logicaldoc.core.security.authentication.AbstractAuthenticator
 
- 
initpublic void init()Populate the providers chain using the extension point Authentication declared in the core plug-in.
- 
isEnabledpublic boolean isEnabled()- Specified by:
- isEnabledin interface- com.logicaldoc.core.security.authentication.Authenticator
- Overrides:
- isEnabledin class- com.logicaldoc.core.security.authentication.AbstractAuthenticator
 
 
-