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:
Serializable, org.apereo.cas.support.saml.util.Saml20ObjectBuilder, 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>
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

    Constructors
    Constructor
    Description
    SamlProfileSamlConditionsBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensaml.saml.saml2.core.Conditions
    Build.
    protected org.opensaml.saml.saml2.core.Conditions
    Build conditions conditions.

    Methods 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, newSubject

    Methods inherited from class org.apereo.cas.support.saml.util.AbstractSamlObjectBuilder

    addAttributeValuesToSamlAttribute, constructDocumentFromXml, getOpenSamlConfigBean, newAttributeValue, signSamlResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.support.saml.util.Saml20ObjectBuilder

    getSamlObjectQName, newSamlObject
  • Constructor Details

    • SamlProfileSamlConditionsBuilder

      public SamlProfileSamlConditionsBuilder(org.apereo.cas.support.saml.OpenSamlConfigBean configBean, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
  • Method Details

    • build

      public org.opensaml.saml.saml2.core.Conditions build(SamlProfileBuilderContext context) throws org.apereo.cas.support.saml.SamlException
      Description copied from interface: SamlProfileObjectBuilder
      Build.
      Specified by:
      build in interface SamlProfileObjectBuilder<org.opensaml.saml.saml2.core.Conditions>
      Parameters:
      context - the context
      Returns:
      the response
      Throws:
      org.apereo.cas.support.saml.SamlException
    • buildConditions

      protected org.opensaml.saml.saml2.core.Conditions buildConditions(SamlProfileBuilderContext context) throws org.apereo.cas.support.saml.SamlException
      Build conditions conditions.
      Parameters:
      context - the context
      Returns:
      the conditions
      Throws:
      org.apereo.cas.support.saml.SamlException - the saml exception