Class SamlProfileSamlConditionsBuilder
- 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.conditions.SamlProfileSamlConditionsBuilder
-
- All Implemented Interfaces:
java.io.Serializable,SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.Conditions>
public class SamlProfileSamlConditionsBuilder extends org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder implements SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.Conditions>
This isSamlProfileSamlConditionsBuilder.- Since:
- 5.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SamlProfileSamlConditionsBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml2.core.Conditionsbuild(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.protected org.opensaml.saml.saml2.core.ConditionsbuildConditions(org.opensaml.saml.saml2.core.RequestAbstractType authnRequest, java.lang.Object assertion, org.apereo.cas.support.saml.services.SamlRegisteredService service, org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade adaptor, org.opensaml.messaging.context.MessageContext messageContext)Build conditions conditions.-
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
-
-
-
-
Method Detail
-
build
public org.opensaml.saml.saml2.core.Conditions 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.Conditions>- 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
-
buildConditions
protected org.opensaml.saml.saml2.core.Conditions buildConditions(org.opensaml.saml.saml2.core.RequestAbstractType authnRequest, java.lang.Object assertion, org.apereo.cas.support.saml.services.SamlRegisteredService service, org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade adaptor, org.opensaml.messaging.context.MessageContext messageContext) throws org.apereo.cas.support.saml.SamlExceptionBuild conditions conditions.- Parameters:
authnRequest- the authn requestassertion- the assertionservice- the serviceadaptor- the adaptormessageContext- the message context- Returns:
- the conditions
- Throws:
org.apereo.cas.support.saml.SamlException- the saml exception
-
-