Class HttpAuthorizationMechanismFactory
- java.lang.Object
-
- org.opends.server.protocols.http.authz.HttpAuthorizationMechanismFactory
-
public final class HttpAuthorizationMechanismFactory extends Object
CreatesHttpAuthorizationMechanism
performing the authentication/authorization of incoming Request.
-
-
Constructor Summary
Constructors Constructor Description HttpAuthorizationMechanismFactory(ServerContext serverContext)
Creates a new authorization mechanism factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C extends HttpAuthorizationMechanismCfg>
HttpAuthorizationMechanism<C>newInstance(C config)
Creates a newHttpAuthorizationMechanism
based on the configuration.
-
-
-
Constructor Detail
-
HttpAuthorizationMechanismFactory
public HttpAuthorizationMechanismFactory(ServerContext serverContext)
Creates a new authorization mechanism factory.- Parameters:
serverContext
-ServerContext
of this directory server.- Throws:
NullPointerException
- if serverContext is null
-
-
Method Detail
-
newInstance
public <C extends HttpAuthorizationMechanismCfg> HttpAuthorizationMechanism<C> newInstance(C config) throws InitializationException
Creates a newHttpAuthorizationMechanism
based on the configuration.- Type Parameters:
C
- the configuration class- Parameters:
config
- The configuration used to build this authorization mechanism.- Returns:
- a new
HttpAuthorizationMechanism
- Throws:
InitializationException
- If the filter cannot be created.
-
-