Class SamlProfileSamlConditionsBuilder

    • Field Summary

      • Fields inherited from class org.apereo.cas.support.saml.util.AbstractSamlObjectBuilder

        DEFAULT_ELEMENT_LOCAL_NAME_FIELD, DEFAULT_ELEMENT_NAME_FIELD, openSamlConfigBean
    • 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.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)
      Build response.
      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)
      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
      • Methods inherited from class org.apereo.cas.support.saml.util.AbstractSamlObjectBuilder

        addAttributeValuesToSamlAttribute, constructDocumentFromXml, getOpenSamlConfigBean, getSamlObjectQName, newAttributeValue, newSamlObject, newSoapObject, signSamlResponse
      • Methods inherited from class java.lang.Object

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

      • SamlProfileSamlConditionsBuilder

        public SamlProfileSamlConditionsBuilder​(org.apereo.cas.support.saml.OpenSamlConfigBean configBean,
                                                org.apereo.cas.configuration.CasConfigurationProperties casProperties)
    • 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.SamlException
        Description copied from interface: SamlProfileObjectBuilder
        Build response.
        Specified by:
        build in interface SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.Conditions>
        Parameters:
        authnRequest - the authn request
        request - the request
        response - the response
        assertion - the assertion
        service - the service
        adaptor - the adaptor
        binding - the binding
        messageContext - 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.SamlException
        Build conditions conditions.
        Parameters:
        authnRequest - the authn request
        assertion - the assertion
        service - the service
        adaptor - the adaptor
        messageContext - the message context
        Returns:
        the conditions
        Throws:
        org.apereo.cas.support.saml.SamlException - the saml exception