public interface SAML2HandlerResponse
SAML2Handler
as part of a chainModifier 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?
|
void setDestination(String destination)
destination
- String getDestination()
void setResultingDocument(Document doc)
doc
- void setRelayState(String relayState)
relayState
- Document getResultingDocument()
String getRelayState()
void setRoles(List<String> roles)
roles
- boolean isInError()
void setError(int errorCode, String errorMessage)
errorCode
- errorMessage
- int getErrorCode()
String getErrorMessage()
void setSendRequest(boolean request)
request
- boolean getSendRequest()
setSendRequest(boolean)
void setPostBindingForResponse(boolean postB)
postB
- boolean isPostBindingForResponse()
void setDestinationQueryStringWithSignature(String destinationQueryStringWithSignature)
destinationQueryStringWithSignature
- String getDestinationQueryStringWithSignature()
setDestinationQueryStringWithSignature(String)
Copyright © 2017 JBoss by Red Hat. All rights reserved.