Class SamlProfileSamlAuthNStatementBuilder
java.lang.Object
org.apereo.cas.support.saml.util.AbstractSamlObjectBuilder
org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder
org.apereo.cas.support.saml.web.idp.profile.builders.authn.SamlProfileSamlAuthNStatementBuilder
- All Implemented Interfaces:
Serializable,org.apereo.cas.support.saml.util.Saml20ObjectBuilder,SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AuthnStatement>
public class SamlProfileSamlAuthNStatementBuilder
extends org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder
implements SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AuthnStatement>
This is
SamlProfileSamlAuthNStatementBuilder.- Since:
- 5.0.0
- See Also:
-
Field Summary
Fields inherited from class org.apereo.cas.support.saml.util.AbstractSamlObjectBuilder
DEFAULT_ELEMENT_LOCAL_NAME_FIELD, openSamlConfigBean -
Constructor Summary
ConstructorsConstructorDescriptionSamlProfileSamlAuthNStatementBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AuthnContext> authnContextClassRefBuilder, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.AuthnStatementbuild(SamlProfileBuilderContext context) Build.protected org.opensaml.saml.saml2.core.AuthnStatementprotected Instantprotected org.opensaml.saml.saml2.core.SubjectLocalityMethods inherited from class org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder
addAttributeValuesToSaml2Attribute, decodeSamlAuthnRequest, generateSecureRandomId, getNameID, inflateAuthnRequest, newAssertion, newAssertion, newAttribute, newAuthnStatement, newAuthnStatement, newConditions, newEcpResponse, newIssuer, newLogoutRequest, newLogoutResponse, newResponse, newSamlObject, newStatus, newSubject, newSubjectMethods inherited from class org.apereo.cas.support.saml.util.AbstractSamlObjectBuilder
addAttributeValuesToSamlAttribute, constructDocumentFromXml, getOpenSamlConfigBean, newAttributeValue, signSamlResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apereo.cas.support.saml.util.Saml20ObjectBuilder
getSamlObjectQName, newSamlObject
-
Constructor Details
-
SamlProfileSamlAuthNStatementBuilder
public SamlProfileSamlAuthNStatementBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AuthnContext> authnContextClassRefBuilder, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
-
Method Details
-
build
public org.opensaml.saml.saml2.core.AuthnStatement build(SamlProfileBuilderContext context) throws Exception Description copied from interface:SamlProfileObjectBuilderBuild.- Specified by:
buildin interfaceSamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AuthnStatement>- Parameters:
context- the context- Returns:
- the response
- Throws:
Exception- the exception
-
buildSubjectLocality
protected org.opensaml.saml.saml2.core.SubjectLocality buildSubjectLocality(SamlProfileBuilderContext context) throws org.apereo.cas.support.saml.SamlException - Throws:
org.apereo.cas.support.saml.SamlException
-
buildAuthnStatement
protected org.opensaml.saml.saml2.core.AuthnStatement buildAuthnStatement(SamlProfileBuilderContext context) throws Exception - Throws:
Exception
-
buildSessionNotOnOrAfter
-