Package org.keycloak.saml
Class SAML2LogoutRequestBuilder
java.lang.Object
org.keycloak.saml.SAML2LogoutRequestBuilder
- All Implemented Interfaces:
SamlProtocolExtensionsAwareBuilder<SAML2LogoutRequestBuilder>
public class SAML2LogoutRequestBuilder
extends Object
implements SamlProtocolExtensionsAwareBuilder<SAML2LogoutRequestBuilder>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.saml.SamlProtocolExtensionsAwareBuilder
SamlProtocolExtensionsAwareBuilder.NodeGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected long
protected String
protected final List<SamlProtocolExtensionsAwareBuilder.NodeGenerator>
protected NameIDType
protected NameIDType
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a given node subtree as a SAML protocol extension into the SAML protocol message.assertionExpiration
(int assertionExpiration) Length of time in seconds the assertion is valid for See SAML core specification 2.5.1.2 NotOnOrAfterdestination
(String destination) issuer
(NameIDType issuer) nameId
(NameIDType nameId) sessionIndex
(String index) userPrincipal
(String userPrincipal, String userPrincipalFormat) Deprecated.
-
Field Details
-
nameId
-
sessionIndex
-
assertionExpiration
protected long assertionExpiration -
destination
-
issuer
-
extensions
-
-
Constructor Details
-
SAML2LogoutRequestBuilder
public SAML2LogoutRequestBuilder()
-
-
Method Details
-
destination
-
issuer
-
issuer
-
addExtension
public SAML2LogoutRequestBuilder 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<SAML2LogoutRequestBuilder>
- Returns:
-
assertionExpiration
Length of time in seconds the assertion is valid for See SAML core specification 2.5.1.2 NotOnOrAfter- Parameters:
assertionExpiration
- Number of seconds the assertion should be valid- Returns:
-
userPrincipal
@Deprecated public SAML2LogoutRequestBuilder userPrincipal(String userPrincipal, String userPrincipalFormat) Deprecated.- Parameters:
userPrincipal
-userPrincipalFormat
-- Returns:
-
nameId
-
sessionIndex
-
buildDocument
public Document buildDocument() throws ProcessingException, ConfigurationException, ParsingException -
createLogoutRequest
- Throws:
ConfigurationException
-
nameId(org.keycloak.dom.saml.v2.assertion.NameIDType)