Class PermissionService
java.lang.Object
fr.gouv.vitam.security.internal.rest.service.PermissionService
Handles personal certificate permission check
-
Constructor Summary
ConstructorDescriptionPermissionService
(PersonalCertificatePermissionConfig personalCertificatePermissionConfig) -
Method Summary
-
Constructor Details
-
PermissionService
-
-
Method Details
-
isPersonalCertificateRequiredForPermission
public IsPersonalCertificateRequiredModel isPersonalCertificateRequiredForPermission(String permission) - Parameters:
permission
- the endpoint permission- Returns:
- whether endpoin permission requires personal certificate, ignores it, or unknown (missing in configuration).
-