|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensaml.SOAPBinding
org.opensaml.provider.SOAPHTTPBindingProvider
public class SOAPHTTPBindingProvider
SOAP over HTTP binding implementation. The following properties can be placed in the OpenSAML configuration file to enable SSL client-certificate authentication with the server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.opensaml.SAMLSOAPHTTPBinding |
|---|
SAMLSOAPHTTPBinding.HTTPHook |
| Nested classes/interfaces inherited from interface org.opensaml.SAMLSOAPBinding |
|---|
SAMLSOAPBinding.SOAPHook |
| Field Summary |
|---|
| Fields inherited from interface org.opensaml.SAMLBinding |
|---|
SAML_SOAP_HTTPS, SOAP |
| Constructor Summary | |
|---|---|
SOAPHTTPBindingProvider(String binding,
Element e)
Defeault constructor for a SAMLSOAPBinding object |
|
| Method Summary | |
|---|---|
void |
addHook(SAMLSOAPHTTPBinding.HTTPHook h)
Attach an HTTP hook. |
void |
addHook(SAMLSOAPHTTPBinding.HTTPHook h,
Object globalCtx)
Attach an HTTP hook. |
SAMLRequest |
receive(Object reqContext,
int minor)
Used by responder to process the receipt of a SAML request |
SAMLRequest |
receive(Object reqContext,
Object callCtx,
int minor)
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 |
| Methods inherited from class org.opensaml.SOAPBinding |
|---|
addHook, addHook, recvRequest, recvResponse, sendRequest, sendResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.SAMLSOAPBinding |
|---|
addHook, addHook, recvRequest, recvResponse, sendRequest, sendResponse |
| Constructor Detail |
|---|
public SOAPHTTPBindingProvider(String binding,
Element e)
throws SAMLException
SAMLException| Method Detail |
|---|
public void addHook(SAMLSOAPHTTPBinding.HTTPHook h)
SAMLSOAPHTTPBinding
addHook in interface SAMLSOAPHTTPBindingh - Hook interface to attachSAMLSOAPHTTPBinding.addHook(org.opensaml.SAMLSOAPHTTPBinding.HTTPHook)
public void addHook(SAMLSOAPHTTPBinding.HTTPHook h,
Object globalCtx)
SAMLSOAPHTTPBinding
addHook in interface SAMLSOAPHTTPBindingh - Hook interface to attachglobalCtx - Context data to pass to registered hooksSAMLSOAPHTTPBinding.addHook(org.opensaml.SAMLSOAPHTTPBinding.HTTPHook, java.lang.Object)
public SAMLResponse send(String endpoint,
SAMLRequest request,
Object callCtx)
throws SAMLException
SAMLBinding
send in interface SAMLBindingendpoint - 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 processingSAMLBinding.send(java.lang.String, org.opensaml.SAMLRequest, java.lang.Object)
public SAMLRequest receive(Object reqContext,
Object callCtx,
int minor)
throws SAMLException
SAMLBinding
receive in interface SAMLBindingreqContext - 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 processingSAMLBinding.receive(java.lang.Object, java.lang.Object, int)
public void respond(Object respContext,
SAMLResponse response,
SAMLException e,
Object callCtx)
throws SAMLException
SAMLBinding
respond in interface SAMLBindingrespContext - 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 processingSAMLBinding.respond(java.lang.Object, org.opensaml.SAMLResponse, org.opensaml.SAMLException, java.lang.Object)
public SAMLResponse send(String endpoint,
SAMLRequest request)
throws SAMLException
SAMLBinding
send in interface SAMLBindingendpoint - Defines the endpoint to communicate withrequest - SAML request to send
SAMLException - Base class of exceptions that may be thrown
during processingSAMLBinding.send(java.lang.String, org.opensaml.SAMLRequest)
public SAMLRequest receive(Object reqContext,
int minor)
throws SAMLException
SAMLBinding
receive in interface SAMLBindingreqContext - A generic placeholder for binding-specific
request contextminor - Minor version to support
SAMLException - Base class of exceptions that may be thrown
during processingSAMLBinding.receive(java.lang.Object, int)
public void respond(Object respContext,
SAMLResponse response,
SAMLException e)
throws SAMLException
SAMLBinding
respond in interface SAMLBindingrespContext - 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 processingSAMLBinding.respond(java.lang.Object, org.opensaml.SAMLResponse, org.opensaml.SAMLException)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||