Uses of Class
com.atlassian.sal.api.permission.AuthorisationException
Packages that use AuthorisationException
-
Uses of AuthorisationException in com.atlassian.sal.api.permission
Subclasses of AuthorisationException in com.atlassian.sal.api.permissionModifier and TypeClassDescriptionclassException that is thrown by one of the enforce methods inPermissionEnforcerwhen the current user does not have the required level of access because the user is not authenticated.Methods in com.atlassian.sal.api.permission that throw AuthorisationExceptionModifier and TypeMethodDescriptionvoidPermissionEnforcer.enforceAdmin()Verifies that the current security context has sufficient authorisation to perform administration tasks.voidPermissionEnforcer.enforceSiteAccess()Verifies that at least ONE of the following criteria is met, otherwise an exception is thrown.voidPermissionEnforcer.enforceSystemAdmin()Verifies that the current security context has sufficient authorisation to perform system administration tasks.