Package org.keycloak.saml
Class SAML2LogoutResponseBuilder
- java.lang.Object
-
- org.keycloak.saml.SAML2LogoutResponseBuilder
-
- All Implemented Interfaces:
SamlProtocolExtensionsAwareBuilder<SAML2LogoutResponseBuilder>
public class SAML2LogoutResponseBuilder extends Object implements SamlProtocolExtensionsAwareBuilder<SAML2LogoutResponseBuilder>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.saml.SamlProtocolExtensionsAwareBuilder
SamlProtocolExtensionsAwareBuilder.NodeGenerator
-
-
Field Summary
Fields Modifier and Type Field Description protected String
destination
protected List<SamlProtocolExtensionsAwareBuilder.NodeGenerator>
extensions
protected NameIDType
issuer
protected String
logoutRequestID
-
Constructor Summary
Constructors Constructor Description SAML2LogoutResponseBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SAML2LogoutResponseBuilder
addExtension(SamlProtocolExtensionsAwareBuilder.NodeGenerator extension)
Adds a given node subtree as a SAML protocol extension into the SAML protocol message.Document
buildDocument()
StatusResponseType
buildModel()
SAML2LogoutResponseBuilder
destination(String destination)
SAML2LogoutResponseBuilder
issuer(String issuer)
SAML2LogoutResponseBuilder
issuer(NameIDType issuer)
SAML2LogoutResponseBuilder
logoutRequestID(String logoutRequestID)
-
-
-
Field Detail
-
logoutRequestID
protected String logoutRequestID
-
destination
protected String destination
-
issuer
protected NameIDType issuer
-
extensions
protected final List<SamlProtocolExtensionsAwareBuilder.NodeGenerator> extensions
-
-
Method Detail
-
logoutRequestID
public SAML2LogoutResponseBuilder logoutRequestID(String logoutRequestID)
-
destination
public SAML2LogoutResponseBuilder destination(String destination)
-
issuer
public SAML2LogoutResponseBuilder issuer(NameIDType issuer)
-
issuer
public SAML2LogoutResponseBuilder issuer(String issuer)
-
addExtension
public SAML2LogoutResponseBuilder 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<SAML2LogoutResponseBuilder>
- Returns:
-
buildModel
public StatusResponseType buildModel() throws ConfigurationException
- Throws:
ConfigurationException
-
buildDocument
public Document buildDocument() throws ProcessingException
- Throws:
ProcessingException
-
-