Class LogoutRequestService
java.lang.Object
org.codice.ddf.security.idp.client.LogoutRequestService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogoutRequestService(ddf.security.samlp.impl.SimpleSign simpleSign, IdpMetadata idpMetadata, ddf.security.samlp.impl.RelayStates<String> relayStates) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildAndValidateSaml(String samlRequest, String relayState, String signatureAlgorithm, String signature, org.opensaml.xmlsec.signature.SignableXMLObject xmlObject) javax.ws.rs.core.ResponsegetLogoutRequest(String deflatedSamlRequest, String deflatedSamlResponse, String relayState, String signatureAlgorithm, String signature) voidinit()javax.ws.rs.core.ResponsepostLogoutRequest(String encodedSamlRequest, String encodedSamlResponse, String relayState) javax.ws.rs.core.ResponsesendLogoutRequest(String encryptedNameIdTime) voidsetEncryptionService(ddf.security.encryption.EncryptionService encryptionService) voidsetHttpSessionInvalidator(org.codice.ddf.platform.session.api.HttpSessionInvalidator httpSessionInvalidator) voidsetLogoutMessage(ddf.security.samlp.LogoutMessage logoutMessage) voidsetLogOutPageTimeOut(long logOutPageTimeOut) voidsetRequest(javax.servlet.http.HttpServletRequest request) voidsetSamlSecurity(org.codice.ddf.security.jaxrs.SamlSecurity samlSecurity) voidsetSecurityLogger(ddf.security.audit.SecurityLogger securityLogger) voidsetSecurityManager(ddf.security.service.SecurityManager securityManager) voidsetSessionFactory(ddf.security.http.SessionFactory sessionFactory) voidsetSubjectOperations(ddf.security.SubjectOperations subjectOperations) javax.ws.rs.core.ResponsesoapLogoutRequest(InputStream body, javax.servlet.http.HttpServletRequest request)
-
Field Details
-
NO_SUPPORT_FOR_POST_OR_REDIRECT_BINDINGS
- See Also:
-
ROOT_NODE_NAME
- See Also:
-
UNABLE_TO_CREATE_LOGOUT_REQUEST
- See Also:
-
UNABLE_TO_CREATE_LOGOUT_RESPONSE
- See Also:
-
UNABLE_TO_DECODE_AND_INFLATE_LOGOUT_REQUEST
- See Also:
-
UNABLE_TO_DECODE_AND_INFLATE_LOGOUT_RESPONSE
- See Also:
-
UNABLE_TO_DECRYPT_LOGOUT_REQUEST
- See Also:
-
UNABLE_TO_PARSE_LOGOUT_REQUEST
- See Also:
-
UNABLE_TO_PARSE_LOGOUT_RESPONSE
- See Also:
-
UNABLE_TO_SIGN_LOGOUT_RESPONSE
- See Also:
-
UNABLE_TO_VALIDATE_LOGOUT_REQUEST
- See Also:
-
UNABLE_TO_VALIDATE_LOGOUT_RESPONSE
- See Also:
-
-
Constructor Details
-
LogoutRequestService
public LogoutRequestService(ddf.security.samlp.impl.SimpleSign simpleSign, IdpMetadata idpMetadata, ddf.security.samlp.impl.RelayStates<String> relayStates)
-
-
Method Details
-
init
public void init() -
sendLogoutRequest
@GET @Path("/request") public javax.ws.rs.core.Response sendLogoutRequest(@QueryParam("EncryptedNameIdTime") String encryptedNameIdTime) -
soapLogoutRequest
@POST @Consumes({"text/xml","application/soap+xml"}) public javax.ws.rs.core.Response soapLogoutRequest(InputStream body, @Context javax.servlet.http.HttpServletRequest request) -
postLogoutRequest
-
getLogoutRequest
@GET public javax.ws.rs.core.Response getLogoutRequest(@QueryParam("SAMLRequest") String deflatedSamlRequest, @QueryParam("SAMLResponse") String deflatedSamlResponse, @QueryParam("RelayState") String relayState, @QueryParam("SigAlg") String signatureAlgorithm, @QueryParam("Signature") String signature) -
buildAndValidateSaml
protected void buildAndValidateSaml(String samlRequest, String relayState, String signatureAlgorithm, String signature, org.opensaml.xmlsec.signature.SignableXMLObject xmlObject) throws ddf.security.samlp.impl.ValidationException - Throws:
ddf.security.samlp.impl.ValidationException
-
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request) -
setLogoutMessage
public void setLogoutMessage(ddf.security.samlp.LogoutMessage logoutMessage) -
setEncryptionService
public void setEncryptionService(ddf.security.encryption.EncryptionService encryptionService) -
setSessionFactory
public void setSessionFactory(ddf.security.http.SessionFactory sessionFactory) -
setHttpSessionInvalidator
public void setHttpSessionInvalidator(org.codice.ddf.platform.session.api.HttpSessionInvalidator httpSessionInvalidator) -
setSecurityManager
public void setSecurityManager(ddf.security.service.SecurityManager securityManager) -
setLogOutPageTimeOut
public void setLogOutPageTimeOut(long logOutPageTimeOut) -
setSamlSecurity
public void setSamlSecurity(org.codice.ddf.security.jaxrs.SamlSecurity samlSecurity) -
setSubjectOperations
public void setSubjectOperations(ddf.security.SubjectOperations subjectOperations) -
setSecurityLogger
public void setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger)
-