Uses of Class
com.randomnoun.common.security.Permission
Packages that use Permission
-
Uses of Permission in com.randomnoun.common.security
Methods in com.randomnoun.common.security that return PermissionModifier and TypeMethodDescriptionSecurityContext.getPermission
(User user, String permission) Returns the Permission object for a specific user/permission combination, or null if this permission is not granted.Methods in com.randomnoun.common.security that return types with arguments of type PermissionModifier and TypeMethodDescriptionSecurityContext.getAllPermissions()
Return a List of all Permissions in this security context.SecurityContext.getPermissions
(User user, String permission) Returns a list of all Permission objects assigned to a user and all the roles that the user is a member of.SecurityContext.getRolePermissions
(String roleName) Returns a list of Permission objects that apply to the specified rolename.SecurityContext.getUserPermissions
(User user) Retrieve a list of permissions for this user, as Permission objects.SecurityLoader.loadAllPermissions()
Return a List of all permissions in this security context, as Permission objects.SecurityLoader.loadAllRolePermissions()
Return a structured list of application specific Permission objects which is used to preload the SecurityContext rolePermission cache.SecurityContext.loadRolePermissions
(String role) SecurityLoader.loadRolePermissions
(String role) Return List of Permission objects associated with a particular roleSecurityLoader.loadUserPermissions
(User user) Returns the list of permissions assigned to this user.SecurityContext.loadUserRolePermissions
(User user) SecurityLoader.loadUserRolePermissions
(User user) Return a list of Permission objects associated with the roles possessed by a particular user.Method parameters in com.randomnoun.common.security with type arguments of type PermissionModifier and TypeMethodDescriptionvoid
SecurityLoader.saveRolePermissions
(String role, List<Permission> rolePermissions) Persists the permission information for this role to the database. -
Uses of Permission in com.randomnoun.common.security.impl
Methods in com.randomnoun.common.security.impl that return types with arguments of type PermissionModifier and TypeMethodDescriptionNullSecurityLoaderImpl.loadAllPermissions()
SpringSecurityLoaderImpl.loadAllPermissions()
Return a List of all Permissions available to this applicationNullSecurityLoaderImpl.loadAllRolePermissions()
SpringSecurityLoaderImpl.loadAllRolePermissions()
Load all role permissions.NullSecurityLoaderImpl.loadRolePermissions
(String role) SpringSecurityLoaderImpl.loadRolePermissions
(String role) Return List of Permission associated with a particular roleNullSecurityLoaderImpl.loadUserPermissions
(User user) SpringSecurityLoaderImpl.loadUserPermissions
(User user) Retrieve per-user permission objects.NullSecurityLoaderImpl.loadUserRolePermissions
(User user) SpringSecurityLoaderImpl.loadUserRolePermissions
(User user) Return List of Permissions containing permissions contained for all roles for a particular user.Method parameters in com.randomnoun.common.security.impl with type arguments of type PermissionModifier and TypeMethodDescriptionvoid
NullSecurityLoaderImpl.saveRolePermissions
(String role, List<Permission> rolePermissions) void
SpringSecurityAuthenticatorImpl.saveRolePermissions
(String role, List<Permission> rolePermissions) void
SpringSecurityLoaderImpl.saveRolePermissions
(String role, List<Permission> rolePermissions)