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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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
    setSaml(Saml saml)
     

    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SamlAuthenticator

      public SamlAuthenticator()
  • Method Details

    • setSaml

      public void setSaml(Saml saml)
    • authenticate

      public com.logicaldoc.core.security.user.User authenticate(String username, String password) throws com.logicaldoc.core.security.authentication.AuthenticationException
      Specified by:
      authenticate in interface com.logicaldoc.core.security.authentication.Authenticator
      Overrides:
      authenticate in class com.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 interface com.logicaldoc.core.security.authentication.Authenticator
      Overrides:
      authenticate in class com.logicaldoc.core.security.authentication.DefaultAuthenticator
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException