public class DefaultSAML2HandlerResponse extends Object implements SAML2HandlerResponse
Constructor and Description |
---|
DefaultSAML2HandlerResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getDestination()
Get the destination
|
String |
getDestinationQueryStringWithSignature() |
int |
getErrorCode()
Get the error code set in the handler chain
|
String |
getErrorMessage()
Get the error message set in the handler chain
|
String |
getRelayState()
Get the relay state
|
Document |
getResultingDocument()
Get the resulting document from the handler invocation
|
List<String> |
getRoles()
Get the roles generated by handlers
|
boolean |
getSendRequest() |
boolean |
isInError()
Specifies whether the handler chain processing resulted in an error
|
boolean |
isPostBindingForResponse()
Should the response be in post binding?
|
void |
setDestination(String destination)
Set the destination where the response from the current processing node is sent
|
void |
setDestinationQueryStringWithSignature(String destinationQueryStringWithSignature)
Whole destination query string including signature.
|
void |
setError(int errorCode,
String errorMessage)
Handler can set an error
|
void |
setPostBindingForResponse(boolean postB)
Set whether the response should be using the Post Binding
|
void |
setRelayState(String relayState)
Set any relay state that needs to be used in the workflow
|
void |
setResultingDocument(Document doc)
Set the resulting document from the handler
|
void |
setRoles(List<String> roles)
Set an roles that are generated by handlers
|
void |
setSendRequest(boolean request)
Will the resulting document be a SAMLRequest?
|
public String getRelayState()
SAML2HandlerResponse
getRelayState
in interface SAML2HandlerResponse
SAML2HandlerResponse.getRelayState()
public Document getResultingDocument()
SAML2HandlerResponse
getResultingDocument
in interface SAML2HandlerResponse
SAML2HandlerResponse.getResultingDocument()
public void setRelayState(String relayState)
SAML2HandlerResponse
setRelayState
in interface SAML2HandlerResponse
SAML2HandlerResponse.setRelayState(String)
public void setResultingDocument(Document doc)
SAML2HandlerResponse
setResultingDocument
in interface SAML2HandlerResponse
SAML2HandlerResponse.setResultingDocument(Document)
public List<String> getRoles()
SAML2HandlerResponse
getRoles
in interface SAML2HandlerResponse
SAML2HandlerResponse.getRoles()
public void setRoles(List<String> roles)
SAML2HandlerResponse
setRoles
in interface SAML2HandlerResponse
SAML2HandlerResponse.setRoles(List)
public String getDestination()
SAML2HandlerResponse
getDestination
in interface SAML2HandlerResponse
SAML2HandlerResponse.getDestination()
public void setDestination(String destination)
SAML2HandlerResponse
setDestination
in interface SAML2HandlerResponse
SAML2HandlerResponse.setDestination(String)
public int getErrorCode()
SAML2HandlerResponse
getErrorCode
in interface SAML2HandlerResponse
SAML2HandlerResponse.getErrorCode()
public String getErrorMessage()
SAML2HandlerResponse
getErrorMessage
in interface SAML2HandlerResponse
SAML2HandlerResponse.getErrorMessage()
public void setError(int errorCode, String errorMessage)
SAML2HandlerResponse
setError
in interface SAML2HandlerResponse
SAML2HandlerResponse.setError(int, String)
public boolean isInError()
SAML2HandlerResponse
isInError
in interface SAML2HandlerResponse
SAML2HandlerResponse.isInError()
public boolean getSendRequest()
getSendRequest
in interface SAML2HandlerResponse
SAML2HandlerResponse.getSendRequest()
public void setSendRequest(boolean request)
SAML2HandlerResponse
setSendRequest
in interface SAML2HandlerResponse
SAML2HandlerResponse.setSendRequest(boolean)
public void setPostBindingForResponse(boolean postB)
SAML2HandlerResponse
setPostBindingForResponse
in interface SAML2HandlerResponse
SAML2HandlerResponse.setPostBindingForResponse(boolean)
public boolean isPostBindingForResponse()
SAML2HandlerResponse
isPostBindingForResponse
in interface SAML2HandlerResponse
SAML2HandlerResponse.isPostBindingForResponse()
public void setDestinationQueryStringWithSignature(String destinationQueryStringWithSignature)
SAML2HandlerResponse
setDestinationQueryStringWithSignature
in interface SAML2HandlerResponse
SAML2HandlerResponse.setDestinationQueryStringWithSignature(String)
public String getDestinationQueryStringWithSignature()
getDestinationQueryStringWithSignature
in interface SAML2HandlerResponse
SAML2HandlerResponse.getDestinationQueryStringWithSignature()
Copyright © 2021 JBoss by Red Hat. All rights reserved.