Class OrganizationAuthenticatorImpl

java.lang.Object
org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl
All Implemented Interfaces:
org.exoplatform.services.security.Authenticator

public class OrganizationAuthenticatorImpl extends Object implements org.exoplatform.services.security.Authenticator
Created by The eXo Platform SAS . An authentication wrapper over Organization service
  • Field Details

    • LOG

      protected static final org.exoplatform.services.log.Log LOG
  • Constructor Details

    • OrganizationAuthenticatorImpl

      public OrganizationAuthenticatorImpl(org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.services.security.RolesExtractor rolesExtractor, org.exoplatform.services.security.PasswordEncrypter encrypter, org.exoplatform.services.listener.ListenerService listenerService)
    • OrganizationAuthenticatorImpl

      public OrganizationAuthenticatorImpl(org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.services.security.RolesExtractor rolesExtractor, org.exoplatform.services.listener.ListenerService listenerService)
    • OrganizationAuthenticatorImpl

      public OrganizationAuthenticatorImpl(org.exoplatform.services.organization.OrganizationService orgService, org.exoplatform.services.listener.ListenerService listenerService)
  • Method Details

    • getOrganizationService

      public org.exoplatform.services.organization.OrganizationService getOrganizationService()
    • createIdentity

      public org.exoplatform.services.security.Identity createIdentity(String userId) throws Exception
      Specified by:
      createIdentity in interface org.exoplatform.services.security.Authenticator
      Throws:
      Exception
    • validateUser

      public String validateUser(org.exoplatform.services.security.Credential[] credentials) throws LoginException, Exception
      Specified by:
      validateUser in interface org.exoplatform.services.security.Authenticator
      Throws:
      LoginException
      Exception
    • addAuthenticatorPlugin

      public void addAuthenticatorPlugin(org.exoplatform.services.organization.auth.AuthenticatorPlugin plugin)
    • addSecurityCheckAuthenticatorPlugin

      public void addSecurityCheckAuthenticatorPlugin(SecurityCheckAuthenticationPlugin plugin)
    • getPlugins

      public List<org.exoplatform.services.organization.auth.AuthenticatorPlugin> getPlugins()
    • getSecurityCheckPlugins

      public List<SecurityCheckAuthenticationPlugin> getSecurityCheckPlugins()
    • setPlugins

      public void setPlugins(List<org.exoplatform.services.organization.auth.AuthenticatorPlugin> plugins)
    • begin

      public void begin(org.exoplatform.services.organization.OrganizationService orgService)
    • end

      public void end(org.exoplatform.services.organization.OrganizationService orgService) throws Exception
      Throws:
      Exception
    • getLastExceptionOnValidateUser

      public Exception getLastExceptionOnValidateUser()
      Specified by:
      getLastExceptionOnValidateUser in interface org.exoplatform.services.security.Authenticator