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()
SAML2HandlerResponsegetRelayState in interface SAML2HandlerResponseSAML2HandlerResponse.getRelayState()public Document getResultingDocument()
SAML2HandlerResponsegetResultingDocument in interface SAML2HandlerResponseSAML2HandlerResponse.getResultingDocument()public void setRelayState(String relayState)
SAML2HandlerResponsesetRelayState in interface SAML2HandlerResponseSAML2HandlerResponse.setRelayState(String)public void setResultingDocument(Document doc)
SAML2HandlerResponsesetResultingDocument in interface SAML2HandlerResponseSAML2HandlerResponse.setResultingDocument(Document)public List<String> getRoles()
SAML2HandlerResponsegetRoles in interface SAML2HandlerResponseSAML2HandlerResponse.getRoles()public void setRoles(List<String> roles)
SAML2HandlerResponsesetRoles in interface SAML2HandlerResponseSAML2HandlerResponse.setRoles(List)public String getDestination()
SAML2HandlerResponsegetDestination in interface SAML2HandlerResponseSAML2HandlerResponse.getDestination()public void setDestination(String destination)
SAML2HandlerResponsesetDestination in interface SAML2HandlerResponseSAML2HandlerResponse.setDestination(String)public int getErrorCode()
SAML2HandlerResponsegetErrorCode in interface SAML2HandlerResponseSAML2HandlerResponse.getErrorCode()public String getErrorMessage()
SAML2HandlerResponsegetErrorMessage in interface SAML2HandlerResponseSAML2HandlerResponse.getErrorMessage()public void setError(int errorCode,
String errorMessage)
SAML2HandlerResponsesetError in interface SAML2HandlerResponseSAML2HandlerResponse.setError(int, String)public boolean isInError()
SAML2HandlerResponseisInError in interface SAML2HandlerResponseSAML2HandlerResponse.isInError()public boolean getSendRequest()
getSendRequest in interface SAML2HandlerResponseSAML2HandlerResponse.getSendRequest()public void setSendRequest(boolean request)
SAML2HandlerResponsesetSendRequest in interface SAML2HandlerResponseSAML2HandlerResponse.setSendRequest(boolean)public void setPostBindingForResponse(boolean postB)
SAML2HandlerResponsesetPostBindingForResponse in interface SAML2HandlerResponseSAML2HandlerResponse.setPostBindingForResponse(boolean)public boolean isPostBindingForResponse()
SAML2HandlerResponseisPostBindingForResponse in interface SAML2HandlerResponseSAML2HandlerResponse.isPostBindingForResponse()public void setDestinationQueryStringWithSignature(String destinationQueryStringWithSignature)
SAML2HandlerResponsesetDestinationQueryStringWithSignature in interface SAML2HandlerResponseSAML2HandlerResponse.setDestinationQueryStringWithSignature(String)public String getDestinationQueryStringWithSignature()
getDestinationQueryStringWithSignature in interface SAML2HandlerResponseSAML2HandlerResponse.getDestinationQueryStringWithSignature()Copyright © 2018 JBoss by Red Hat. All rights reserved.