Class PermissionService
- java.lang.Object
-
- fr.gouv.vitam.security.internal.rest.service.PermissionService
-
public class PermissionService extends java.lang.Object
Handles personal certificate permission check
-
-
Constructor Summary
Constructors Constructor Description PermissionService(PersonalCertificatePermissionConfig personalCertificatePermissionConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IsPersonalCertificateRequiredModel
isPersonalCertificateRequiredForPermission(java.lang.String permission)
-
-
-
Constructor Detail
-
PermissionService
public PermissionService(PersonalCertificatePermissionConfig personalCertificatePermissionConfig)
-
-
Method Detail
-
isPersonalCertificateRequiredForPermission
public IsPersonalCertificateRequiredModel isPersonalCertificateRequiredForPermission(java.lang.String permission)
- Parameters:
permission
- the endpoint permission- Returns:
- whether endpoin permission requires personal certificate, ignores it, or unknown (missing in configuration).
-
-