org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication
Class ESUserVerifierFactory

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.ESUserVerifierFactory

public final class ESUserVerifierFactory
extends Object

Default authentication control factory.

Author:
wesendon

Method Summary
 ESUserVerifier createUserVerifier(ESAuthenticationControlType authenticationControlType, ESOrgUnitProvider orgUnitProvider)
          Creates an ESUserVerifier based on the given ESAuthenticationControlType.
static ESUserVerifierFactory getInstance()
          The singleton instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ESUserVerifierFactory getInstance()
The singleton instance.

Returns:
the singleton instance

createUserVerifier

public ESUserVerifier createUserVerifier(ESAuthenticationControlType authenticationControlType,
                                         ESOrgUnitProvider orgUnitProvider)
                                  throws FatalESException
Creates an ESUserVerifier based on the given ESAuthenticationControlType.

Parameters:
authenticationControlType - the requested type of ESUserVerifier
orgUnitProvider - provides access to users and groups if necessary
Returns:
the requested ESUserVerifier
Throws:
FatalESException - in case no fitting ESUserVerifier can be found or the initialization fails


Copyright © 2016. All Rights Reserved.