public interface PermissionChecker
WebAccessService
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermissions(AuthorityHolder authorityHolder)
Checks the permissions of the
authorityHolder , throws an exception or returns
false in case of failure. |
boolean checkPermissions(@NotNull AuthorityHolder authorityHolder) throws AccessDeniedException
authorityHolder
, throws an exception or returns
false
in case of failure.authorityHolder
- the authority holderAccessDeniedException
- if access is denied