Class SAML2AuthnRequestBuilder

java.lang.Object
org.pac4j.saml.sso.impl.SAML2AuthnRequestBuilder
All Implemented Interfaces:
SAML2ObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest>

public class SAML2AuthnRequestBuilder extends Object implements SAML2ObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest>
Build a SAML2 Authn Request from the given MessageContext.
Since:
1.5.0
Author:
Michael Remond, Misagh Moayyed
  • Field Details

    • logger

      protected final org.slf4j.Logger logger
  • Constructor Details

    • SAML2AuthnRequestBuilder

      public SAML2AuthnRequestBuilder()
  • Method Details

    • build

      public org.opensaml.saml.saml2.core.AuthnRequest build(SAML2MessageContext context)
      Specified by:
      build in interface SAML2ObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest>
    • buildAuthnRequest

      protected final org.opensaml.saml.saml2.core.AuthnRequest buildAuthnRequest(SAML2MessageContext context, org.opensaml.saml.saml2.metadata.AssertionConsumerService assertionConsumerService, org.opensaml.saml.saml2.metadata.SingleSignOnService ssoService)
    • buildAuthnContextClassRef

      protected org.opensaml.saml.saml2.core.AuthnContextClassRef buildAuthnContextClassRef(String authnContextClassRef)
    • getIssuer

      protected final org.opensaml.saml.saml2.core.Issuer getIssuer(SAML2MessageContext context, String spEntityId)
    • getComparisonTypeEnumFromString

      protected org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration getComparisonTypeEnumFromString(String comparisonType)
    • setIssueInstantSkewSeconds

      public void setIssueInstantSkewSeconds(int issueInstantSkewSeconds)