Package org.keycloak.saml
Class SAML2AuthnRequestBuilder
java.lang.Object
org.keycloak.saml.SAML2AuthnRequestBuilder
- All Implemented Interfaces:
SamlProtocolExtensionsAwareBuilder<SAML2AuthnRequestBuilder>
public class SAML2AuthnRequestBuilder
extends Object
implements SamlProtocolExtensionsAwareBuilder<SAML2AuthnRequestBuilder>
- Author:
- pedroigor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.saml.SamlProtocolExtensionsAwareBuilder
SamlProtocolExtensionsAwareBuilder.NodeGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected final List<SamlProtocolExtensionsAwareBuilder.NodeGenerator>
protected NameIDType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a given node subtree as a SAML protocol extension into the SAML protocol message.assertionConsumerUrl
(String assertionConsumerUrl) assertionConsumerUrl
(URI assertionConsumerUrl) attributeConsumingServiceIndex
(Integer attributeConsumingServiceIndex) destination
(String destination) forceAuthn
(boolean forceAuthn) isPassive
(boolean isPassive) issuer
(NameIDType issuer) nameIdPolicy
(SAML2NameIDPolicyBuilder nameIDPolicyBuilder) protocolBinding
(String protocolBinding) requestedAuthnContext
(SAML2RequestedAuthnContextBuilder requestedAuthnContextBuilder)
-
Field Details
-
destination
-
issuer
-
extensions
-
-
Constructor Details
-
SAML2AuthnRequestBuilder
public SAML2AuthnRequestBuilder()
-
-
Method Details
-
destination
-
issuer
-
issuer
-
addExtension
public SAML2AuthnRequestBuilder addExtension(SamlProtocolExtensionsAwareBuilder.NodeGenerator extension) Description copied from interface:SamlProtocolExtensionsAwareBuilder
Adds a given node subtree as a SAML protocol extension into the SAML protocol message.- Specified by:
addExtension
in interfaceSamlProtocolExtensionsAwareBuilder<SAML2AuthnRequestBuilder>
- Returns:
-
assertionConsumerUrl
-
assertionConsumerUrl
-
attributeConsumingServiceIndex
public SAML2AuthnRequestBuilder attributeConsumingServiceIndex(Integer attributeConsumingServiceIndex) -
forceAuthn
-
isPassive
-
nameIdPolicy
-
protocolBinding
-
subject
-
requestedAuthnContext
public SAML2AuthnRequestBuilder requestedAuthnContext(SAML2RequestedAuthnContextBuilder requestedAuthnContextBuilder) -
toDocument
-
createAuthnRequest
-