@Path(value="logout") public class LogoutRequestService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
IDP_REALM_NAME |
static String |
NO_SUPPORT_FOR_POST_OR_REDIRECT_BINDINGS |
static String |
ROOT_NODE_NAME |
static String |
SECURITY_AUDIT_ROLES |
static String |
UNABLE_TO_CREATE_LOGOUT_REQUEST |
static String |
UNABLE_TO_CREATE_LOGOUT_RESPONSE |
static String |
UNABLE_TO_DECODE_AND_INFLATE_LOGOUT_REQUEST |
static String |
UNABLE_TO_DECODE_AND_INFLATE_LOGOUT_RESPONSE |
static String |
UNABLE_TO_DECRYPT_LOGOUT_REQUEST |
static String |
UNABLE_TO_PARSE_LOGOUT_REQUEST |
static String |
UNABLE_TO_PARSE_LOGOUT_RESPONSE |
static String |
UNABLE_TO_SIGN_LOGOUT_RESPONSE |
static String |
UNABLE_TO_VALIDATE_LOGOUT_REQUEST |
static String |
UNABLE_TO_VALIDATE_LOGOUT_RESPONSE |
Constructor and Description |
---|
LogoutRequestService(SimpleSign simpleSign,
IdpMetadata idpMetadata,
RelayStates<String> relayStates) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildAndValidateSaml(String samlRequest,
String relayState,
String signatureAlgorithm,
String signature,
org.opensaml.xmlsec.signature.SignableXMLObject xmlObject) |
javax.ws.rs.core.Response |
getLogoutRequest(String deflatedSamlRequest,
String deflatedSamlResponse,
String relayState,
String signatureAlgorithm,
String signature) |
void |
init() |
javax.ws.rs.core.Response |
postLogoutRequest(String encodedSamlRequest,
String encodedSamlResponse,
String relayState) |
javax.ws.rs.core.Response |
sendLogoutRequest(String encryptedNameIdTime) |
void |
setEncryptionService(EncryptionService encryptionService) |
void |
setLogoutMessage(LogoutMessage logoutMessage) |
void |
setLogOutPageTimeOut(long logOutPageTimeOut) |
void |
setRequest(javax.servlet.http.HttpServletRequest request) |
void |
setSessionFactory(SessionFactory sessionFactory) |
public static final String IDP_REALM_NAME
public static final String NO_SUPPORT_FOR_POST_OR_REDIRECT_BINDINGS
public static final String ROOT_NODE_NAME
public static final String UNABLE_TO_CREATE_LOGOUT_REQUEST
public static final String UNABLE_TO_CREATE_LOGOUT_RESPONSE
public static final String UNABLE_TO_DECODE_AND_INFLATE_LOGOUT_REQUEST
public static final String UNABLE_TO_DECODE_AND_INFLATE_LOGOUT_RESPONSE
public static final String UNABLE_TO_DECRYPT_LOGOUT_REQUEST
public static final String UNABLE_TO_PARSE_LOGOUT_REQUEST
public static final String UNABLE_TO_PARSE_LOGOUT_RESPONSE
public static final String UNABLE_TO_SIGN_LOGOUT_RESPONSE
public static final String UNABLE_TO_VALIDATE_LOGOUT_REQUEST
public static final String UNABLE_TO_VALIDATE_LOGOUT_RESPONSE
public static final String SECURITY_AUDIT_ROLES
public LogoutRequestService(SimpleSign simpleSign, IdpMetadata idpMetadata, RelayStates<String> relayStates)
public void init()
@GET @Path(value="/request") public javax.ws.rs.core.Response sendLogoutRequest(@QueryParam(value="EncryptedNameIdTime") String encryptedNameIdTime)
@POST @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response postLogoutRequest(@FormParam(value="SAMLRequest") String encodedSamlRequest, @FormParam(value="SAMLRequest") String encodedSamlResponse, @FormParam(value="RelayState") String relayState)
@GET public javax.ws.rs.core.Response getLogoutRequest(@QueryParam(value="SAMLRequest") String deflatedSamlRequest, @QueryParam(value="SAMLResponse") String deflatedSamlResponse, @QueryParam(value="RelayState") String relayState, @QueryParam(value="SigAlg") String signatureAlgorithm, @QueryParam(value="Signature") String signature)
protected void buildAndValidateSaml(String samlRequest, String relayState, String signatureAlgorithm, String signature, org.opensaml.xmlsec.signature.SignableXMLObject xmlObject) throws ValidationException
ValidationException
public void setRequest(javax.servlet.http.HttpServletRequest request)
public void setLogoutMessage(LogoutMessage logoutMessage)
public void setEncryptionService(EncryptionService encryptionService)
public void setSessionFactory(SessionFactory sessionFactory)
public void setLogOutPageTimeOut(long logOutPageTimeOut)
This work is licensed under a Creative Commons Attribution 4.0 International License.