Class SamlProfileSamlAttributeStatementBuilder
- 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.attr.SamlProfileSamlAttributeStatementBuilder
-
- All Implemented Interfaces:
java.io.Serializable,SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AttributeStatement>
public class SamlProfileSamlAttributeStatementBuilder extends org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder implements SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AttributeStatement>
- Since:
- 5.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SamlProfileSamlAttributeStatementBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, org.apereo.cas.authentication.ProtocolAttributeEncoder samlAttributeEncoder, org.apereo.cas.configuration.model.support.saml.idp.SamlIdPProperties samlIdPProperties, SamlIdPObjectEncrypter samlObjectEncrypter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml2.core.AttributeStatementbuild(org.opensaml.saml.saml2.core.RequestAbstractType authnRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object assertion, org.apereo.cas.support.saml.services.SamlRegisteredService service, org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade adaptor, java.lang.String binding, org.opensaml.messaging.context.MessageContext messageContext)Build response.-
Methods inherited from class org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder
addAttributeValuesToSaml2Attribute, decodeSamlAuthnRequest, generateSecureRandomId, getNameID, inflateAuthnRequest, newAssertion, newAssertion, newAttribute, newAttributeStatement, newAttributeStatement, newAuthnStatement, newConditions, newEcpResponse, newIssuer, newLogoutRequest, newResponse, newStatus, newSubject, newSubject
-
-
-
-
Constructor Detail
-
SamlProfileSamlAttributeStatementBuilder
public SamlProfileSamlAttributeStatementBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, org.apereo.cas.authentication.ProtocolAttributeEncoder samlAttributeEncoder, org.apereo.cas.configuration.model.support.saml.idp.SamlIdPProperties samlIdPProperties, SamlIdPObjectEncrypter samlObjectEncrypter)
-
-
Method Detail
-
build
public org.opensaml.saml.saml2.core.AttributeStatement build(org.opensaml.saml.saml2.core.RequestAbstractType authnRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object assertion, org.apereo.cas.support.saml.services.SamlRegisteredService service, org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade adaptor, java.lang.String binding, org.opensaml.messaging.context.MessageContext messageContext) throws org.apereo.cas.support.saml.SamlExceptionDescription copied from interface:SamlProfileObjectBuilderBuild response.- Specified by:
buildin interfaceSamlProfileObjectBuilder<org.opensaml.saml.saml2.core.AttributeStatement>- Parameters:
authnRequest- the authn requestrequest- the requestresponse- the responseassertion- the assertionservice- the serviceadaptor- the adaptorbinding- the bindingmessageContext- the message context- Returns:
- the response
- Throws:
org.apereo.cas.support.saml.SamlException- the exception
-
-