|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAMLSOAPBinding
Interface for SAML SOAP binding implementations. The addHook method must be synchronized by the caller with respect to other binding methods.
Nested Class Summary | |
---|---|
static interface |
SAMLSOAPBinding.SOAPHook
Callback interface provided by client application enabling post-construction modification or examination of SOAP envelope. |
Field Summary |
---|
Fields inherited from interface org.opensaml.SAMLBinding |
---|
SAML_SOAP_HTTPS, SOAP |
Method Summary | |
---|---|
void |
addHook(SAMLSOAPBinding.SOAPHook h)
Attach a SOAP hook. |
void |
addHook(SAMLSOAPBinding.SOAPHook h,
Object globalCtx)
Attach a SOAP hook. |
SAMLRequest |
recvRequest(Element envelope,
Object callCtx)
Unpacks a SAML request from a SOAP envelope |
SAMLResponse |
recvResponse(Element envelope,
Object callCtx)
Unpacks a SAML response from a SOAP envelope |
Element |
sendRequest(SAMLRequest request,
Object callCtx)
Packages a SAML request for transmission via SOAP |
Element |
sendResponse(SAMLResponse response,
SAMLException e,
Object callCtx)
Packages a SAML response for transmission via SOAP |
Methods inherited from interface org.opensaml.SAMLBinding |
---|
receive, receive, respond, respond, send, send |
Method Detail |
---|
Element sendRequest(SAMLRequest request, Object callCtx) throws SAMLException
request
- The SAML request to preparecallCtx
- Context data to pass to registered hooks for this call
SAMLException
- Raised if an error occurs in preparing the SOAP messageSAMLRequest recvRequest(Element envelope, Object callCtx) throws SAMLException
envelope
- The SOAP envelope receivedcallCtx
- Context data to pass to registered hooks for this call
SAMLException
- Raised if the SAML request cannot be unpacked successfullyElement sendResponse(SAMLResponse response, SAMLException e, Object callCtx) throws SAMLException
response
- The SAML response to prepare (may be null)e
- An exception to package for transmission as a SOAP faultcallCtx
- Context data to pass to registered hooks for this call
SAMLException
- Raised if an error occurs in preparing the SOAP messageSAMLResponse recvResponse(Element envelope, Object callCtx) throws SAMLException
envelope
- The SOAP envelope receivedcallCtx
- Context data to pass to registered hooks for this call
SAMLException
- Raised if the SAML response cannot be unpacked successfully
or if it contains an errorvoid addHook(SAMLSOAPBinding.SOAPHook h)
h
- Hook interface to attachvoid addHook(SAMLSOAPBinding.SOAPHook h, Object globalCtx)
h
- Hook interface to attachglobalCtx
- Context data to pass to registered hooks on each call
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |