|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.SAMLSOAPBinding
Base class for policy-specific SOAP over HTTP binding implementations
Field Summary | |
protected SAMLConfig |
config
OpenSAML configuration |
Fields inherited from interface org.opensaml.SAMLBinding |
SAML_SOAP_HTTPS |
Constructor Summary | |
SAMLSOAPBinding()
Defeault constructor for a SAMLSOAPBinding object |
Method Summary | |
SAMLRequest |
receive(java.lang.Object reqContext)
Process the receipt of a SAML request |
SAMLRequest |
receive(java.lang.Object reqContext,
java.lang.StringBuffer requester)
Deprecated. |
void |
respond(java.lang.Object respContext,
SAMLResponse response,
SAMLException e)
Return a response to a requester |
SAMLResponse |
send(SAMLAuthorityBinding bindingInfo,
SAMLRequest request)
Used by requester to send a SAML request to an authority, and obtain a response in return |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SAMLConfig config
Constructor Detail |
public SAMLSOAPBinding()
Method Detail |
public SAMLResponse send(SAMLAuthorityBinding bindingInfo, SAMLRequest request) throws SAMLException
send
in interface SAMLBinding
bindingInfo
- Defines the binding protocol and the authority
to contactrequest
- SAML request to send
SAMLException
- Base class of exceptions that may be thrown
during processingpublic SAMLRequest receive(java.lang.Object reqContext, java.lang.StringBuffer requester) throws SAMLException
NOTE to implementors: If you want to talk to authorities that use this implementation as their foundation, do not specify xmlns:xsd or xmlns:xsi in your SOAP request, or if you do, specify the 2001 schema namespaces. Any valid SOAP 1.1 envelope should validate, just don't let your toolkit generate the schema prefixes.
receive
in interface SAMLBinding
reqContext
- An instance of HttpServletRequestrequester
- The authenticated name of the requester,
determined from an SSL client certificate, or HTTP authentication
SAMLException
- Base class of exceptions that may be thrown
during processingpublic SAMLRequest receive(java.lang.Object reqContext) throws SAMLException
NOTE to implementors: If you want to talk to authorities that use this implementation as their foundation, do not specify xmlns:xsd or xmlns:xsi in your SOAP request, or if you do, specify the 2001 schema namespaces. Any valid SOAP 1.1 envelope should validate, just don't let your toolkit generate the schema prefixes.
receive
in interface SAMLBinding
reqContext
- An instance of HttpServletRequest
SAMLException
- Base class of exceptions that may be thrown
during processingpublic void respond(java.lang.Object respContext, SAMLResponse response, SAMLException e) throws java.io.IOException
respond
in interface SAMLBinding
respContext
- An instance of HttpServletResponseresponse
- The SAML response to return (optional)e
- An exception to translate into a SOAP fault
java.io.IOException
- Thrown if sending of data fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |