Package com.logicaldoc.saml
Class SamlAuthenticator
java.lang.Object
com.logicaldoc.core.security.authentication.AbstractAuthenticator
com.logicaldoc.core.security.authentication.DefaultAuthenticator
com.logicaldoc.saml.SamlAuthenticator
- All Implemented Interfaces:
com.logicaldoc.core.security.authentication.Authenticator
@Component("samlAuthenticator")
public class SamlAuthenticator
extends com.logicaldoc.core.security.authentication.DefaultAuthenticator
This authenticator interprets the SAML session id to authenticate the user
- Since:
- 8.9.4
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.logicaldoc.core.security.user.User
authenticate
(String username, String password) com.logicaldoc.core.security.user.User
authenticate
(String username, String password, String key, com.logicaldoc.core.security.Client client) void
Methods inherited from class com.logicaldoc.core.security.authentication.DefaultAuthenticator
pickUser, setUserDAO, validateUser
Methods inherited from class com.logicaldoc.core.security.authentication.AbstractAuthenticator
authenticate, canAuthenticateUser, isEnabled
-
Constructor Details
-
SamlAuthenticator
public SamlAuthenticator()
-
-
Method Details
-
setSaml
-
authenticate
public com.logicaldoc.core.security.user.User authenticate(String username, String password) throws com.logicaldoc.core.security.authentication.AuthenticationException - Specified by:
authenticate
in interfacecom.logicaldoc.core.security.authentication.Authenticator
- Overrides:
authenticate
in classcom.logicaldoc.core.security.authentication.DefaultAuthenticator
- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
-
authenticate
public 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:
authenticate
in interfacecom.logicaldoc.core.security.authentication.Authenticator
- Overrides:
authenticate
in classcom.logicaldoc.core.security.authentication.DefaultAuthenticator
- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
-