public interface IEncoder
Modifier and Type | Method and Description |
---|---|
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
|
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
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
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
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
Copyright © 2017. All rights reserved.