Package org.pac4j.saml.sso.impl
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 java.lang.Object implements SAML2ObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest>
Build a SAML2 Authn Request from the givenMessageContext
.- Since:
- 1.5.0
- Author:
- Michael Remond, Misagh Moayyed
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description SAML2AuthnRequestBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml2.core.AuthnRequest
build(SAML2MessageContext context)
protected org.opensaml.saml.saml2.core.AuthnContextClassRef
buildAuthnContextClassRef(java.lang.String authnContextClassRef)
protected org.opensaml.saml.saml2.core.AuthnRequest
buildAuthnRequest(SAML2MessageContext context, org.opensaml.saml.saml2.metadata.AssertionConsumerService assertionConsumerService, org.opensaml.saml.saml2.metadata.SingleSignOnService ssoService)
protected org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration
getComparisonTypeEnumFromString(java.lang.String comparisonType)
protected org.opensaml.saml.saml2.core.Issuer
getIssuer(SAML2MessageContext context, java.lang.String spEntityId)
void
setIssueInstantSkewSeconds(int issueInstantSkewSeconds)
-
-
-
Method Detail
-
build
public org.opensaml.saml.saml2.core.AuthnRequest build(SAML2MessageContext context)
- Specified by:
build
in interfaceSAML2ObjectBuilder<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(java.lang.String authnContextClassRef)
-
getIssuer
protected final org.opensaml.saml.saml2.core.Issuer getIssuer(SAML2MessageContext context, java.lang.String spEntityId)
-
getComparisonTypeEnumFromString
protected org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration getComparisonTypeEnumFromString(java.lang.String comparisonType)
-
setIssueInstantSkewSeconds
public void setIssueInstantSkewSeconds(int issueInstantSkewSeconds)
-
-