Class CSRFUtil
java.lang.Object
com.emc.documentum.rest.security.csrf.CSRFUtil
A utility to handle CSRF token
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setCSRFResponse
(ClientToken ct, jakarta.servlet.http.HttpServletResponse response) static String
tokenMessageDigest
(String token) static void
validateCSRFRequestToken
(ClientToken ct, jakarta.servlet.http.HttpServletRequest request)
-
Field Details
-
DOCUMENTUM_CSRF_HEADER_NAME
- See Also:
-
DOCUMENTUM_CSRF_QUERY_NAME
- See Also:
-
DOCUMENTUM_CSRF_TOKEN
- See Also:
-
-
Method Details
-
tokenMessageDigest
-
validateCSRFRequestToken
public static void validateCSRFRequestToken(ClientToken ct, jakarta.servlet.http.HttpServletRequest request) -
setCSRFResponse
public static void setCSRFResponse(ClientToken ct, jakarta.servlet.http.HttpServletResponse response)
-