Package org.keycloak.saml
Class SAML2ErrorResponseBuilder
java.lang.Object
org.keycloak.saml.SAML2ErrorResponseBuilder
- All Implemented Interfaces:
SamlProtocolExtensionsAwareBuilder<SAML2ErrorResponseBuilder>
public class SAML2ErrorResponseBuilder
extends Object
implements SamlProtocolExtensionsAwareBuilder<SAML2ErrorResponseBuilder>
- 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 String
protected final List<SamlProtocolExtensionsAwareBuilder.NodeGenerator>
protected NameIDType
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a given node subtree as a SAML protocol extension into the SAML protocol message.destination
(String destination) issuer
(NameIDType issuer) statusMessage
(String statusMessage)
-
Field Details
-
status
-
statusMessage
-
destination
-
issuer
-
extensions
-
-
Constructor Details
-
SAML2ErrorResponseBuilder
public SAML2ErrorResponseBuilder()
-
-
Method Details
-
status
-
statusMessage
-
destination
-
issuer
-
issuer
-
addExtension
public SAML2ErrorResponseBuilder 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<SAML2ErrorResponseBuilder>
- Returns:
-
buildDocument
- Throws:
ProcessingException
-