Class ConfluencePermissionEnforcer
java.lang.Object
com.atlassian.sal.core.permission.DefaultPermissionEnforcer
com.atlassian.sal.confluence.permission.ConfluencePermissionEnforcer
- All Implemented Interfaces:
com.atlassian.sal.api.permission.PermissionEnforcer
public class ConfluencePermissionEnforcer
extends com.atlassian.sal.core.permission.DefaultPermissionEnforcer
-
Constructor Summary
ConstructorDescriptionConfluencePermissionEnforcer
(com.atlassian.sal.api.user.UserManager userManager, com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
throwNotAuthenticated
(String message) protected void
throwNotAuthorised
(String message) Methods inherited from class com.atlassian.sal.core.permission.DefaultPermissionEnforcer
enforceAdmin, enforceAuthenticated, enforceSiteAccess, enforceSystemAdmin, getRemoteUserOrThrow, isAdmin, isAuthenticated, isLicensed, isLicensedOrLimitedUnlicensedUser, isSystemAdmin
-
Constructor Details
-
ConfluencePermissionEnforcer
public ConfluencePermissionEnforcer(com.atlassian.sal.api.user.UserManager userManager, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
throwNotAuthorised
- Overrides:
throwNotAuthorised
in classcom.atlassian.sal.core.permission.DefaultPermissionEnforcer
-
throwNotAuthenticated
- Overrides:
throwNotAuthenticated
in classcom.atlassian.sal.core.permission.DefaultPermissionEnforcer
-