Class HttpAuthorizationMechanismFactory
java.lang.Object
org.opends.server.protocols.http.authz.HttpAuthorizationMechanismFactory
Creates
HttpAuthorizationMechanism performing the authentication/authorization of incoming Request.-
Constructor Summary
ConstructorsConstructorDescriptionHttpAuthorizationMechanismFactory(ServerContext serverContext) Creates a new authorization mechanism factory. -
Method Summary
Modifier and TypeMethodDescriptionCreates a newHttpAuthorizationMechanismbased on the configuration.
-
Constructor Details
-
HttpAuthorizationMechanismFactory
Creates a new authorization mechanism factory.- Parameters:
serverContext-ServerContextof this directory server.- Throws:
NullPointerException- if serverContext is null
-
-
Method Details
-
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.
-