@FunctionalInterface
public interface ContextualAuthenticationPolicyFactory<T>
Modifier and Type | Method and Description |
---|---|
ContextualAuthenticationPolicy<T> |
createPolicy(T context)
Creates a contextual (presumably stateful) authentication policy based on provided context data.
|
ContextualAuthenticationPolicy<T> createPolicy(T context)
context
- Context data used to create an authentication policy.