public final class HttpAuthorizationMechanismFactory extends Object
HttpAuthorizationMechanism
performing the authentication/authorization of incoming Request.Constructor and Description |
---|
HttpAuthorizationMechanismFactory(ServerContext serverContext)
Creates a new authorization mechanism factory.
|
Modifier and Type | Method and Description |
---|---|
HttpAuthorizationMechanism<?> |
newInstance(HttpAuthorizationMechanismCfg config)
Creates a new
HttpAuthorizationMechanism based on the configuration. |
public HttpAuthorizationMechanismFactory(ServerContext serverContext)
serverContext
- ServerContext
of this directory server.NullPointerException
- if serverContext is nullpublic HttpAuthorizationMechanism<?> newInstance(HttpAuthorizationMechanismCfg config) throws InitializationException
HttpAuthorizationMechanism
based on the configuration.config
- The configuration used to build this authorization mechanism.HttpAuthorizationMechanism
InitializationException
- If the filter cannot be created.Copyright 2010-2022 ForgeRock AS.