Class DefaultAuthnContextClassRefBuilder
- java.lang.Object
-
- org.apereo.cas.support.saml.web.idp.profile.builders.authn.DefaultAuthnContextClassRefBuilder
-
- All Implemented Interfaces:
AuthnContextClassRefBuilder
public class DefaultAuthnContextClassRefBuilder extends java.lang.Object implements AuthnContextClassRefBuilder
This isDefaultAuthnContextClassRefBuilder.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthnContextClassRefBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringbuild(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.StringgetAuthenticationContextByAssertion(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.
-
-
-
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:AuthnContextClassRefBuilderGets authentication method from assertion.- Specified by:
buildin interfaceAuthnContextClassRefBuilder- Parameters:
assertion- the assertionauthnRequest- the authn requestadaptor- the adaptorservice- 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 assertionrequestedAuthnContext- the requested authn contextauthnContextClassRefs- the authn context class refs- Returns:
- the authentication context by assertion
-
-