|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to generic SAML binding implementations. The setVersion method should not be called without synchronization, but binding implementations must be threadsafe with respect to the actual binding operations.
Field Summary | |
static String |
SAML_SOAP_HTTPS
Deprecated. Deprecated constant name for SAML SOAP binding protocol |
static String |
SOAP
SAML SOAP binding protocol |
Method Summary | |
SAMLRequest |
receive(Object reqContext,
int minorVersion)
Used by responder to process the receipt of a SAML request |
SAMLRequest |
receive(Object reqContext,
Object callCtx,
int minorVersion)
Used by responder to process the receipt of a SAML request, with hook context |
void |
respond(Object respContext,
SAMLResponse response,
SAMLException e)
Return a response or fault to a requester |
void |
respond(Object respContext,
SAMLResponse response,
SAMLException e,
Object callCtx)
Return a response or fault to a requester with hook context |
SAMLResponse |
send(String endpoint,
SAMLRequest request)
Used by requester to send a SAML request to an authority, and obtain a response in return |
SAMLResponse |
send(String endpoint,
SAMLRequest request,
Object callCtx)
Used by requester to send a SAML request to an authority, and obtain a response in return, with hook context |
Field Detail |
public static final String SOAP
public static final String SAML_SOAP_HTTPS
Method Detail |
public SAMLResponse send(String endpoint, SAMLRequest request, Object callCtx) throws SAMLException
endpoint
- Defines the endpoint to communicate withrequest
- SAML request to sendcallCtx
- Context data to pass to registered hooks for this call
SAMLException
- Base class of exceptions that may be thrown
during processingpublic SAMLResponse send(String endpoint, SAMLRequest request) throws SAMLException
endpoint
- Defines the endpoint to communicate withrequest
- SAML request to send
SAMLException
- Base class of exceptions that may be thrown
during processingpublic SAMLRequest receive(Object reqContext, Object callCtx, int minorVersion) throws SAMLException
reqContext
- A generic placeholder for binding-specific
request contextcallCtx
- Context data to pass to registered hooks for this call
SAMLException
- Base class of exceptions that may be thrown
during processingpublic SAMLRequest receive(Object reqContext, int minorVersion) throws SAMLException
reqContext
- A generic placeholder for binding-specific
request contextminorVersion
- Minor version to support
SAMLException
- Base class of exceptions that may be thrown
during processingpublic void respond(Object respContext, SAMLResponse response, SAMLException e, Object callCtx) throws SAMLException
respContext
- A generic placeholder for
binding-specific response contextresponse
- The SAML response to return (optional)e
- An exception to translate into a binding
fault (optional)callCtx
- Context data to pass to registered hooks for this call
SAMLException
- Base class of exceptions that may be thrown
during processingpublic void respond(Object respContext, SAMLResponse response, SAMLException e) throws SAMLException
respContext
- A generic placeholder for
binding-specific response contextresponse
- The SAML response to return (optional)e
- An exception to translate into a binding
fault (optional)
SAMLException
- Base class of exceptions that may be thrown
during processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |