Class HttpAuthorizationMechanismFactory
- java.lang.Object
-
- org.opends.server.protocols.http.authz.HttpAuthorizationMechanismFactory
-
public final class HttpAuthorizationMechanismFactory extends Object
CreatesHttpAuthorizationMechanismperforming the authentication/authorization of incomingRequest.
-
-
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 HttpAuthorizationMechanism<?>newInstance(HTTPAuthorizationMechanismCfg config)Creates a newHttpAuthorizationMechanismbased on the configuration.
-
-
-
Constructor Detail
-
HttpAuthorizationMechanismFactory
public HttpAuthorizationMechanismFactory(ServerContext serverContext)
Creates a new authorization mechanism factory.- Parameters:
serverContext-ServerContextof this directory server.- Throws:
NullPointerException- if serverContext is null
-
-
Method Detail
-
newInstance
public HttpAuthorizationMechanism<?> newInstance(HTTPAuthorizationMechanismCfg config) throws InitializationException
Creates a newHttpAuthorizationMechanismbased on the configuration.- Parameters:
config- The configuration used to build this authorization mechanism.- Returns:
- a new
HttpAuthorizationMechanism - Throws:
InitializationException- If the filter cannot be created.
-
-