Class RequiredHandlerAuthenticationPolicyFactory

  • All Implemented Interfaces:
    org.apereo.cas.authentication.ContextualAuthenticationPolicyFactory<ServiceContext>

    public class RequiredHandlerAuthenticationPolicyFactory
    extends java.lang.Object
    implements org.apereo.cas.authentication.ContextualAuthenticationPolicyFactory<ServiceContext>
    Produces ContextualAuthenticationPolicy instances that are satisfied iff the given Authentication was created by authenticating credentials by all handlers named in RegisteredServiceAuthenticationPolicy.getRequiredAuthenticationHandlers().
    Since:
    4.0.0
    • Constructor Detail

      • RequiredHandlerAuthenticationPolicyFactory

        public RequiredHandlerAuthenticationPolicyFactory()
    • Method Detail

      • createPolicy

        public org.apereo.cas.authentication.ContextualAuthenticationPolicy<ServiceContext> createPolicy​(ServiceContext context)
        Specified by:
        createPolicy in interface org.apereo.cas.authentication.ContextualAuthenticationPolicyFactory<ServiceContext>