Uses of Interface
org.apache.fulcrum.security.entity.Permission
-
-
Uses of Permission in org.apache.fulcrum.security
Methods in org.apache.fulcrum.security with type parameters of type Permission Modifier and Type Method Description <T extends Permission>
TPermissionManager. addPermission(T permission)
Creates a new permission with specified attributes.<T extends Permission>
TPermissionManager. getPermissionById(Object id)
Retrieve a Permission object with specified Id.<T extends Permission>
TPermissionManager. getPermissionByName(String name)
Retrieve a Permission object with specified name.<T extends Permission>
TPermissionManager. getPermissionInstance()
Construct a blank Permission object.<T extends Permission>
TPermissionManager. getPermissionInstance(String permName)
Construct a blank Permission object.Methods in org.apache.fulcrum.security with parameters of type Permission Modifier and Type Method Description boolean
PermissionManager. checkExists(Permission permission)
Determines if thePermission
exists in the security system.void
PermissionManager. removePermission(Permission permission)
Removes a Permission from the system.void
PermissionManager. renamePermission(Permission permission, String name)
Renames an existing Permission. -
Uses of Permission in org.apache.fulcrum.security.model.dynamic
Methods in org.apache.fulcrum.security.model.dynamic with parameters of type Permission Modifier and Type Method Description void
DynamicModelManager. grant(Role role, Permission permission)
Puts a permission in a role This method is used when adding a permission to a roleboolean
DynamicAccessControlList. hasPermission(Permission permission)
Checks if the user is assigned a specific Permission in the global Group.boolean
DynamicAccessControlList. hasPermission(Permission permission, Group group)
Checks if the user is assigned a specific Permission in the Group.boolean
DynamicAccessControlList. hasPermission(Permission permission, GroupSet groupset)
Checks if the user is assigned a specific Permission in any of the given Groupsboolean
DynamicAccessControlListImpl. hasPermission(Permission permission)
Checks if the user is assigned a specific Permission.boolean
DynamicAccessControlListImpl. hasPermission(Permission permission, Group group)
Checks if the user is assigned a specific Permission in the Group.boolean
DynamicAccessControlListImpl. hasPermission(Permission permission, GroupSet groupset)
Checks if the user is assigned a specific Permission in any of the given Groupsvoid
DynamicModelManager. revoke(Role role, Permission permission)
Removes a permission from a rolevoid
AbstractDynamicModelManager. revokeAll(Permission permission)
Revokes all roles from a permission This method is used when deleting a permission.void
DynamicModelManager. revokeAll(Permission permission)
Revoke from a permission all roles This method is typically used when deleting a Permission -
Uses of Permission in org.apache.fulcrum.security.model.dynamic.entity
Subinterfaces of Permission in org.apache.fulcrum.security.model.dynamic.entity Modifier and Type Interface Description interface
DynamicPermission
Represents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity with type parameters of type Permission Modifier and Type Method Description <T extends Permission>
Set<T>DynamicRole. getPermissionsAsSet()
Get the permission that are part of this role as Set<T extends Permission>
voidDynamicRole. setPermissionsAsSet(Set<T> permissions)
Set the permission that are part of this role as SetMethods in org.apache.fulcrum.security.model.dynamic.entity with parameters of type Permission Modifier and Type Method Description void
DynamicRole. addPermission(Permission permission)
This method should only be used by a RoleManager.void
DynamicRole. removePermission(Permission permission)
This method should only be used by a RoleManager. -
Uses of Permission in org.apache.fulcrum.security.model.dynamic.entity.impl
Classes in org.apache.fulcrum.security.model.dynamic.entity.impl that implement Permission Modifier and Type Class Description class
DynamicPermissionImpl
Represents the "simple" model where permissions are related to roles, roles are related to groups and groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.dynamic.entity.impl with type parameters of type Permission Modifier and Type Method Description <T extends Permission>
Set<T>DynamicRoleImpl. getPermissionsAsSet()
Get the permission that are part of this role as Set<T extends Permission>
voidDynamicRoleImpl. setPermissionsAsSet(Set<T> permissions)
Set the permission that are part of this role as SetMethods in org.apache.fulcrum.security.model.dynamic.entity.impl with parameters of type Permission Modifier and Type Method Description void
DynamicRoleImpl. addPermission(Permission permission)
This method should only be used by a RoleManager.void
DynamicRoleImpl. removePermission(Permission permission)
This method should only be used by a RoleManager. -
Uses of Permission in org.apache.fulcrum.security.model.turbine
Methods in org.apache.fulcrum.security.model.turbine with parameters of type Permission Modifier and Type Method Description void
TurbineModelManager. grant(Role role, Permission permission)
Puts a permission in a role This method is used when adding a permission to a roleboolean
TurbineAccessControlList. hasPermission(Permission permission)
Checks if the user is assigned a specific Permission in the global Group.boolean
TurbineAccessControlList. hasPermission(Permission permission, Group group)
Checks if the user is assigned a specific Permission in the Group.boolean
TurbineAccessControlList. hasPermission(Permission permission, GroupSet groupset)
Checks if the user is assigned a specific Permission in any of the given Groupsboolean
TurbineAccessControlListImpl. hasPermission(Permission permission)
Checks if the user is assigned a specific Permission in the global Group.boolean
TurbineAccessControlListImpl. hasPermission(Permission permission, Group group)
Checks if the user is assigned a specific Permission in the Group.boolean
TurbineAccessControlListImpl. hasPermission(Permission permission, GroupSet groupset)
Checks if the user is assigned a specific Permission in any of the given Groupsvoid
TurbineModelManager. revoke(Role role, Permission permission)
Removes a permission from a role -
Uses of Permission in org.apache.fulcrum.security.model.turbine.entity
Subinterfaces of Permission in org.apache.fulcrum.security.model.turbine.entity Modifier and Type Interface Description interface
TurbinePermission
Represents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.turbine.entity with type parameters of type Permission Modifier and Type Method Description <T extends Permission>
Set<T>TurbineRole. getPermissionsAsSet()
Get the permission that are part of this role as Set<T extends Permission>
voidTurbineRole. setPermissionsAsSet(Set<T> permissions)
Set the permission that are part of this role as SetMethods in org.apache.fulcrum.security.model.turbine.entity that return Permission Modifier and Type Method Description Permission
TurbineRolePermissionoff. getPermission()
Methods in org.apache.fulcrum.security.model.turbine.entity with parameters of type Permission Modifier and Type Method Description void
TurbineRole. addPermission(Permission permission)
This method should only be used by a RoleManager.void
TurbineRole. removePermission(Permission permission)
This method should only be used by a RoleManager.void
TurbineRolePermissionoff. setPermission(Permission permission)
-
Uses of Permission in org.apache.fulcrum.security.model.turbine.entity.impl
Classes in org.apache.fulcrum.security.model.turbine.entity.impl that implement Permission Modifier and Type Class Description class
TurbinePermissionImpl
Represents the "turbine" model where permissions are in a many to many relationship to roles, roles are related to groups are related to users, all in many to many relationships.Methods in org.apache.fulcrum.security.model.turbine.entity.impl with type parameters of type Permission Modifier and Type Method Description <T extends Permission>
Set<T>TurbineRoleImpl. getPermissionsAsSet()
Get the permission that are part of this role as Set<T extends Permission>
voidTurbineRoleImpl. setPermissionsAsSet(Set<T> permissions)
Set the permission that are part of this role as SetMethods in org.apache.fulcrum.security.model.turbine.entity.impl with parameters of type Permission Modifier and Type Method Description void
TurbineRoleImpl. addPermission(Permission permission)
This method should only be used by a RoleManager.void
TurbineRoleImpl. removePermission(Permission permission)
This method should only be used by a RoleManager. -
Uses of Permission in org.apache.fulcrum.security.spi
Methods in org.apache.fulcrum.security.spi with type parameters of type Permission Modifier and Type Method Description <T extends Permission>
TAbstractPermissionManager. addPermission(T permission)
Creates a new permission with specified attributes.<T extends Permission>
TAbstractPermissionManager. getPermissionById(Object id)
Retrieve a Permission object with specified Id.<T extends Permission>
TAbstractPermissionManager. getPermissionByName(String name)
Retrieve a Permission object with specified name.<T extends Permission>
TAbstractPermissionManager. getPermissionInstance()
Construct a blank Permission object.<T extends Permission>
TAbstractPermissionManager. getPermissionInstance(String permName)
Construct a blank Permission object.protected abstract <T extends Permission>
TAbstractPermissionManager. persistNewPermission(T permission)
Methods in org.apache.fulcrum.security.spi with parameters of type Permission Modifier and Type Method Description boolean
AbstractPermissionManager. checkExists(Permission permission)
Check whether a specified permission exists. -
Uses of Permission in org.apache.fulcrum.security.util
Methods in org.apache.fulcrum.security.util that return Permission Modifier and Type Method Description Permission
PermissionSet. getPermissionById(Object permissionId)
Deprecated.Use getById()Permission
PermissionSet. getPermissionByName(String permissionName)
Deprecated.use getByName()Constructor parameters in org.apache.fulcrum.security.util with type arguments of type Permission Constructor Description PermissionSet(Collection<? extends Permission> permissions)
Constructs a new PermissionSet with specified contents.
-