|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BambooPermissionManager
Field Summary | |
---|---|
static org.acegisecurity.adapters.PrincipalAcegiUserToken |
SYSTEM_AUTHORITY
|
Method Summary | |
---|---|
java.util.Collection<java.lang.String> |
getAdminGroups()
Get a list of all the groups that have global administration permission |
java.util.Collection<org.acegisecurity.acls.Permission> |
getPermissionsForPlan(PlanKey planKey)
|
java.util.Collection<org.acegisecurity.acls.Permission> |
getPermissionsForPlan(java.lang.String planKey)
Deprecated. since 4.2 use getPermissionsForPlan(PlanKey) |
boolean |
hasGlobalPermission(org.acegisecurity.acls.Permission permission)
|
boolean |
hasGlobalPermission(java.lang.String permission)
|
boolean |
hasPermission(org.acegisecurity.Authentication authentication,
java.lang.String permission,
java.lang.Object object)
Deprecated. |
boolean |
hasPermission(org.acegisecurity.acls.Permission permission,
java.lang.Object object,
org.acegisecurity.Authentication authentication)
Checks whether a permission is granted to access object with given authentication. |
boolean |
hasPermission(java.lang.String permission,
java.lang.Object object)
Deprecated. |
boolean |
hasPermission(java.lang.String username,
org.acegisecurity.acls.Permission permission,
java.lang.Object object)
|
boolean |
hasPermission(java.lang.String username,
java.lang.String permission,
java.lang.Object object)
Deprecated. |
boolean |
hasPlanPermission(org.acegisecurity.acls.Permission permission,
PlanKey planKey)
|
boolean |
hasPlanPermission(java.lang.String permission,
java.lang.String planKey)
Deprecated. since 4.2 use hasPlanPermission(Permission, PlanKey) |
boolean |
isAdmin(java.lang.String username)
Returns true if the user is an admin, false if not |
boolean |
isEnableSignup()
|
boolean |
isSystemAdmin(java.lang.String username)
Returns true if the user is a sysadmin, false if not |
Field Detail |
---|
static final org.acegisecurity.adapters.PrincipalAcegiUserToken SYSTEM_AUTHORITY
Method Detail |
---|
boolean hasPermission(@NotNull org.acegisecurity.acls.Permission permission, @NotNull java.lang.Object object, @Nullable org.acegisecurity.Authentication authentication)
permission
- the permission to check forobject
- the domain object on which the permission check will be madeauthentication
- the authentication/principal whose secury identities will be checked for the permission
@Deprecated boolean hasPermission(org.acegisecurity.Authentication authentication, java.lang.String permission, java.lang.Object object)
hasPermission(org.acegisecurity.acls.Permission, Object, org.acegisecurity.Authentication)
@Deprecated boolean hasPermission(java.lang.String username, java.lang.String permission, java.lang.Object object)
hasPermission(String, Permission, Object)
boolean hasPermission(@NotNull java.lang.String username, @NotNull org.acegisecurity.acls.Permission permission, @NotNull java.lang.Object object)
@Deprecated boolean hasPermission(java.lang.String permission, java.lang.Object object)
hasPermission(org.acegisecurity.acls.Permission, Object, org.acegisecurity.Authentication)
@Deprecated boolean hasPlanPermission(java.lang.String permission, java.lang.String planKey)
hasPlanPermission(Permission, PlanKey)
boolean hasPlanPermission(@NotNull org.acegisecurity.acls.Permission permission, @NotNull PlanKey planKey)
boolean hasGlobalPermission(java.lang.String permission)
boolean hasGlobalPermission(@NotNull org.acegisecurity.acls.Permission permission)
boolean isEnableSignup()
java.util.Collection<org.acegisecurity.acls.Permission> getPermissionsForPlan(@NotNull PlanKey planKey)
@Deprecated java.util.Collection<org.acegisecurity.acls.Permission> getPermissionsForPlan(java.lang.String planKey)
getPermissionsForPlan(PlanKey)
java.util.Collection<java.lang.String> getAdminGroups()
boolean isAdmin(java.lang.String username)
username
- the user
boolean isSystemAdmin(java.lang.String username)
username
- the user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |