public class DefaultSAML2HandlerRequest extends Object implements SAML2HandlerRequest
SAML2HandlerRequest.GENERATE_REQUEST_TYPE
Constructor and Description |
---|
DefaultSAML2HandlerRequest(ProtocolContext protocolContext,
NameIDType issuer,
SAMLDocumentHolder samlDocumentHolder,
SAML2Handler.HANDLER_TYPE handlerType) |
Modifier and Type | Method and Description |
---|---|
void |
addOption(String key,
Object option)
Add an option
|
ProtocolContext |
getContext()
Holder of transport context such as HTTP
|
NameIDType |
getIssuer()
Get the Issuer (SP or IDP) where the handler chain is currently processing
|
Map<String,Object> |
getOptions()
Get the configured options
|
String |
getRelayState()
Get the RelayState that was part of the interaction
|
Document |
getRequestDocument()
Get the request as a DOM
|
SAML2Object |
getSAML2Object()
The SAML2 Request
|
SAML2Handler.HANDLER_TYPE |
getType() |
SAML2HandlerRequest.GENERATE_REQUEST_TYPE |
getTypeOfRequestToBeGenerated()
Return the type of SAML request that needs to be generated at the handler
|
void |
setOptions(Map<String,Object> options)
Configure options
|
void |
setRelayState(String relay)
Set the relay state that was part of the interaction
|
void |
setTypeOfRequestToBeGenerated(SAML2HandlerRequest.GENERATE_REQUEST_TYPE grt)
Set the type of saml2 request that need to be generated by the handler
|
public DefaultSAML2HandlerRequest(ProtocolContext protocolContext, NameIDType issuer, SAMLDocumentHolder samlDocumentHolder, SAML2Handler.HANDLER_TYPE handlerType)
public void setOptions(Map<String,Object> options)
SAML2HandlerRequest
setOptions
in interface SAML2HandlerRequest
public ProtocolContext getContext()
SAML2HandlerRequest
getContext
in interface SAML2HandlerRequest
SAML2HandlerRequest.getContext()
public NameIDType getIssuer()
SAML2HandlerRequest
getIssuer
in interface SAML2HandlerRequest
SAML2HandlerRequest.getIssuer()
public SAML2Object getSAML2Object()
SAML2HandlerRequest
getSAML2Object
in interface SAML2HandlerRequest
SAML2HandlerRequest.getSAML2Object()
public SAML2Handler.HANDLER_TYPE getType()
SAML2HandlerRequest#getType()
public void addOption(String key, Object option)
SAML2HandlerRequest
addOption
in interface SAML2HandlerRequest
SAML2HandlerRequest#addOption(String, Object)}
public Map<String,Object> getOptions()
SAML2HandlerRequest
getOptions
in interface SAML2HandlerRequest
SAML2HandlerRequest.getOptions()
public void setTypeOfRequestToBeGenerated(SAML2HandlerRequest.GENERATE_REQUEST_TYPE grt)
setTypeOfRequestToBeGenerated
in interface SAML2HandlerRequest
grt
- public SAML2HandlerRequest.GENERATE_REQUEST_TYPE getTypeOfRequestToBeGenerated()
SAML2HandlerRequest
getTypeOfRequestToBeGenerated
in interface SAML2HandlerRequest
SAML2HandlerRequest.getTypeOfRequestToBeGenerated()
public String getRelayState()
SAML2HandlerRequest
getRelayState
in interface SAML2HandlerRequest
SAML2HandlerRequest.getRelayState()
public void setRelayState(String relay)
SAML2HandlerRequest
setRelayState
in interface SAML2HandlerRequest
public Document getRequestDocument()
SAML2HandlerRequest
getRequestDocument
in interface SAML2HandlerRequest
Copyright © 2017 JBoss by Red Hat. All rights reserved.