public class RequiredHandlerAuthenticationPolicyFactory extends java.lang.Object implements ContextualAuthenticationPolicyFactory<ServiceContext>
ContextualAuthenticationPolicy
instances that are satisfied iff the given Authentication
was created by authenticating credentials by all handlers named in
RegisteredService.getRequiredHandlers()
.Constructor and Description |
---|
RequiredHandlerAuthenticationPolicyFactory() |
Modifier and Type | Method and Description |
---|---|
ContextualAuthenticationPolicy<ServiceContext> |
createPolicy(ServiceContext context)
Creates a contextual (presumably stateful) authentication policy based on provided context data.
|
public RequiredHandlerAuthenticationPolicyFactory()
public ContextualAuthenticationPolicy<ServiceContext> createPolicy(ServiceContext context)
ContextualAuthenticationPolicyFactory
createPolicy
in interface ContextualAuthenticationPolicyFactory<ServiceContext>
context
- Context data used to create an authentication policy.