Uses of Interface
org.janux.bus.security.PermissionContext

Packages that use PermissionContext
org.janux.bus.security The org.janux.bus.security package, soon to be renamed the org.janux.authorization package, contains interfaces that define a very flexible Permission-Based scheme for doing Authorization within an application; this scheme makes it possible to define whatever permissions suit a specific domain, and aggregate them into existing or new roles without having to make code changes; the key interfaces of this package are PermissionsCapable, Account, Role, and PermissionContext
 

Uses of PermissionContext in org.janux.bus.security
 

Classes in org.janux.bus.security with type parameters of type PermissionContext
 interface PermissionContextDaoGeneric<T extends PermissionContext>
          Used to create, save, retrieve, update and delete PermissionContext objects from persistent storage
 

Methods in org.janux.bus.security that return PermissionContext
 PermissionContext PermissionContextDao.findByName(String name)
          Deprecated. Returns a PermissionContext by names, or null if the PermissionContext is not found.
 PermissionContext PermissionContextDaoGeneric.findByName(String name)
          Returns a PermissionContext by names, or null if the PermissionContext is not found.
 PermissionContext PermissionBit.getPermissionContext()
          the PermissionContext that contains/uses this PermissionBit
 PermissionContext PermissionContextDao.loadByName(String name)
          Deprecated. loads an PermissionContext object, or throws exception if PermissionContext with that name is not found
 PermissionContext PermissionContextDaoGeneric.loadByName(String name)
          loads an PermissionContext object, or throws exception if PermissionContext with that name is not found
 PermissionContext PermissionContextDao.newPermissionContext()
          Deprecated. returns a new PermissionContext instance
 PermissionContext PermissionContextDaoGeneric.newPermissionContext()
          returns a new PermissionContext instance
 

Methods in org.janux.bus.security that return types with arguments of type PermissionContext
 Map<String,PermissionContext> PermissionsCapable.getPermissionContexts()
          Returns a map of all the PermissionContexts in which this PermissionsCapable Entity has been granted a Permission, whether directly or via a Sub-Role; the map is keyed by the PermissionContext's Name
 SortedSet<PermissionContext> PermissionContextDao.loadAll()
          Deprecated. Loads all PermissionContexts defined in the system, sorted by sortOrder
 SortedSet<PermissionContext> PermissionContextDaoGeneric.loadAll()
          Loads all PermissionContexts defined in the system, sorted by sortOrder
 SortedSet<PermissionContext> AccountService.loadAllPermissionContexts()
          Loads all PermissionContexts defined in the system
 

Methods in org.janux.bus.security with parameters of type PermissionContext
 void PermissionsCapable.denyPermissions(PermissionContext permissionContext, long permissionsValue)
          Explicitly denies a set of Permissions within a PermissionContext; this method should be used only to deny permissions that are inherited from Roles associated to this PermissionsCapable entity; this method is not meant to be used as the opposite action to method PermissionsCapable.grantPermissions(PermissionContext, long), although it could be abused that way,
 void PermissionsCapable.grantPermissions(PermissionContext permissionContext, long permissionsValue)
          In the case of an implementation that uses bitmasks to store permissions, and given a permission context and a long value representing multiple permissions available in that context, this method grants the permissions indicated to this PermissionsCapable Entity.
 void PermissionBit.setPermissionContext(PermissionContext permContext)
           
 



Copyright © 2005-2013 Janux. All Rights Reserved.