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 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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.AuthnRequest
build
(SAML2MessageContext context) protected org.opensaml.saml.saml2.core.AuthnContextClassRef
buildAuthnContextClassRef
(String authnContextClassRef) 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) protected org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration
getComparisonTypeEnumFromString
(String comparisonType) protected final org.opensaml.saml.saml2.core.Issuer
getIssuer
(SAML2MessageContext context, String spEntityId) void
setIssueInstantSkewSeconds
(int issueInstantSkewSeconds)
-
Field Details
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
SAML2AuthnRequestBuilder
public SAML2AuthnRequestBuilder()
-
-
Method Details
-
build
- 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(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)
-