Class DefaultAuthnContextClassRefBuilder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String build​(java.lang.Object assertion, org.opensaml.saml.saml2.core.RequestAbstractType authnRequest, org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade adaptor, org.apereo.cas.support.saml.services.SamlRegisteredService service)
      Gets authentication method from assertion.
      protected java.lang.String getAuthenticationContextByAssertion​(java.lang.Object assertion, org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext, java.util.List<org.opensaml.saml.saml2.core.AuthnContextClassRef> authnContextClassRefs)
      Gets authentication context by assertion.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultAuthnContextClassRefBuilder

        public DefaultAuthnContextClassRefBuilder()
    • Method Detail

      • build

        public java.lang.String build​(java.lang.Object assertion,
                                      org.opensaml.saml.saml2.core.RequestAbstractType authnRequest,
                                      org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade adaptor,
                                      org.apereo.cas.support.saml.services.SamlRegisteredService service)
        Description copied from interface: AuthnContextClassRefBuilder
        Gets authentication method from assertion.
        Specified by:
        build in interface AuthnContextClassRefBuilder
        Parameters:
        assertion - the assertion
        authnRequest - the authn request
        adaptor - the adaptor
        service - the service
        Returns:
        the authentication method from assertion
      • getAuthenticationContextByAssertion

        protected java.lang.String getAuthenticationContextByAssertion​(java.lang.Object assertion,
                                                                       org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext,
                                                                       java.util.List<org.opensaml.saml.saml2.core.AuthnContextClassRef> authnContextClassRefs)
        Gets authentication context by assertion. This is more of a template method for the time being, and may be enhanced later to support more advanced parsing of classes from the assertion.
        Parameters:
        assertion - the assertion
        requestedAuthnContext - the requested authn context
        authnContextClassRefs - the authn context class refs
        Returns:
        the authentication context by assertion