public class SAML2AuthnRequestBuilder extends Object implements SAML2ObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest>
MessageContext.| Constructor and Description |
|---|
SAML2AuthnRequestBuilder(boolean forceAuth,
String comparisonType,
String bindingType,
String authnContextClassRef,
String nameIdPolicyFormat,
boolean passive)
Instantiates a new Saml 2 authn request builder.
|
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.saml.saml2.core.AuthnRequest |
build(SAML2MessageContext context) |
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 String |
generateID() |
protected org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration |
getComparisonTypeEnumFromString(String comparisonType) |
protected org.opensaml.saml.saml2.core.Issuer |
getIssuer(String spEntityId) |
void |
setIssueInstantSkewSeconds(int issueInstantSkewSeconds) |
public SAML2AuthnRequestBuilder(boolean forceAuth,
String comparisonType,
String bindingType,
String authnContextClassRef,
String nameIdPolicyFormat,
boolean passive)
forceAuth - the force authcomparisonType - the comparison typebindingType - the binding typeauthnContextClassRef - the authn context class refnameIdPolicyFormat - the name id policy formatpassive - the passivepublic org.opensaml.saml.saml2.core.AuthnRequest build(SAML2MessageContext context)
build in interface SAML2ObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest>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 final org.opensaml.saml.saml2.core.Issuer getIssuer(String spEntityId)
protected final String generateID()
protected final org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration getComparisonTypeEnumFromString(String comparisonType)
public void setIssueInstantSkewSeconds(int issueInstantSkewSeconds)
Copyright © 2017. All Rights Reserved.