Class AuthorizationFilterHelper
java.lang.Object
fr.gouv.vitam.common.security.filter.AuthorizationFilterHelper
Authorization Filter Helper
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthorizationHeaders
(String httpMethod, String url) getAuthorizationHeaders
(String httpMethod, String url, String timestamp, String secret, DigestType digestType)
-
Method Details
-
getAuthorizationHeaders
- Parameters:
httpMethod
-url
-- Returns:
- X-Platform-Id and X-Timestamp Headers
-
getAuthorizationHeaders
public static Map<String,String> getAuthorizationHeaders(String httpMethod, String url, String timestamp, String secret, DigestType digestType) - Parameters:
httpMethod
-url
-timestamp
-secret
-digestType
-- Returns:
- X-Platform-Id and X-Timestamp Headers
-