Constructor and Description |
---|
SoapBinding() |
Modifier and Type | Method and Description |
---|---|
InboundMessageInterface |
decode(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.opensaml.saml2.metadata.provider.MetadataProvider metadataProvider,
boolean isSPEndPoint,
org.opensaml.common.binding.decoding.URIComparator comparator) |
void |
encodeRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.opensaml.saml2.core.RequestAbstractType request,
String targetLocation,
String relayState,
org.opensaml.xml.security.credential.Credential credentials) |
void |
encodeRespone(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.opensaml.saml2.core.StatusResponseType response,
String targetLocation,
String relayState,
org.opensaml.xml.security.credential.Credential credentials)
Encoder SAML Response
|
String |
getSAML2BindingName() |
boolean |
handleDecode(String action,
javax.servlet.http.HttpServletRequest req) |
public InboundMessageInterface decode(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, org.opensaml.saml2.metadata.provider.MetadataProvider metadataProvider, boolean isSPEndPoint, org.opensaml.common.binding.decoding.URIComparator comparator) throws org.opensaml.ws.message.decoder.MessageDecodingException, org.opensaml.xml.security.SecurityException, PVP2Exception
decode
in interface IDecoder
org.opensaml.ws.message.decoder.MessageDecodingException
org.opensaml.xml.security.SecurityException
PVP2Exception
public boolean handleDecode(String action, javax.servlet.http.HttpServletRequest req)
handleDecode
in interface IDecoder
public void encodeRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, org.opensaml.saml2.core.RequestAbstractType request, String targetLocation, String relayState, org.opensaml.xml.security.credential.Credential credentials) throws org.opensaml.ws.message.encoder.MessageEncodingException, org.opensaml.xml.security.SecurityException, PVP2Exception
encodeRequest
in interface IEncoder
req
- The http requestresp
- The http responserequest
- The SAML2 request objecttargetLocation
- URL, where the request should be transmitrelayState
- token for session handlingcredentials
- Credential to sign the request objectorg.opensaml.ws.message.encoder.MessageEncodingException
org.opensaml.xml.security.SecurityException
PVP2Exception
public void encodeRespone(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, org.opensaml.saml2.core.StatusResponseType response, String targetLocation, String relayState, org.opensaml.xml.security.credential.Credential credentials) throws org.opensaml.ws.message.encoder.MessageEncodingException, org.opensaml.xml.security.SecurityException, PVP2Exception
IEncoder
encodeRespone
in interface IEncoder
req
- The http requestresp
- The http responseresponse
- The SAML2 repsonse objecttargetLocation
- URL, where the request should be transmitrelayState
- token for session handlingcredentials
- Credential to sign the response objectorg.opensaml.ws.message.encoder.MessageEncodingException
org.opensaml.xml.security.SecurityException
PVP2Exception
public String getSAML2BindingName()
getSAML2BindingName
in interface IDecoder
Copyright © 2017. All rights reserved.