Uses of Class
com.sas.hls.security.privilege.Privilege

Packages that use Privilege
com.sas.hls.security.privilege Class definitions for identifying and using privileges in the system. 
com.sas.hls.security.privilege.exception Exceptions that can be thrown while manipulating or accessing privileges in the system. 
com.sas.hls.security.role Service and class definitions for manipulating and creating roles, their availability in contexts, and their membership lists. 
 

Uses of Privilege in com.sas.hls.security.privilege
 

Methods in com.sas.hls.security.privilege that return types with arguments of type Privilege
 Set<Privilege> GlobalPrivilegeAssignmentService.getAvailablePrivileges()
          Returns a list of global privileges that are available for global assignment.
 Set<Privilege> PrivilegeService.getAvailablePrivileges(PrivilegeContext context)
          Get the set of privileges available at a given context.
 Set<Privilege> GlobalPrivilegeAssignmentService.getGrantedPrivileges(UserDescriptor user)
          Get the set of privileges which are granted to a user.
 

Methods in com.sas.hls.security.privilege with parameters of type Privilege
 int Privilege.compareTo(Privilege p)
           
 Set<UserDescriptor> GlobalPrivilegeAssignmentService.getGrantees(Privilege privilege)
          Get the set of users who have been granted the specified privilege
 void GlobalPrivilegeAssignmentService.grantPrivilege(UserDescriptor user, Privilege privilege)
          Directly grant a privilege to a specified user.
 boolean GlobalPrivilegeAssignmentService.hasPrivilege(UserDescriptor user, Privilege privilege)
          Does the specified user have a certain privilege
 void GlobalPrivilegeAssignmentService.revokePrivilege(UserDescriptor user, Privilege privilege)
          Revoke a privilege directly given to a user..
 

Method parameters in com.sas.hls.security.privilege with type arguments of type Privilege
 Set<UserDescriptor> GlobalPrivilegeAssignmentService.getAllGrantees(Set<Privilege> privileges)
          Return a list of users which have ANY of the specified privileges granted
 void GlobalPrivilegeAssignmentService.grantPrivileges(UserDescriptor user, Set<Privilege> privileges)
          Directly grant privileges to a specified user.
 void GlobalPrivilegeAssignmentService.grantPrivilegesToPrincipals(Set<? extends UserDescriptor> users, Set<Privilege> privileges)
          Directly grant privileges to the specified principals.
 void GlobalPrivilegeAssignmentService.revokePrivileges(UserDescriptor user, Set<Privilege> privileges)
          Revoke a set of privileges directly given to a user..
 void GlobalPrivilegeAssignmentService.revokePrivilegesFromPrincipals(Set<? extends UserDescriptor> users, Set<Privilege> privileges)
          Revoke a set of privileges directly given to a user..
 void GlobalPrivilegeAssignmentService.setPrivileges(UserDescriptor user, Set<Privilege> privileges)
          Set what privileges are directly given to a specified user.
 

Uses of Privilege in com.sas.hls.security.privilege.exception
 

Methods in com.sas.hls.security.privilege.exception that return types with arguments of type Privilege
 Set<Privilege> PrivilegeExistsException.getExistingPrivileges()
          Get the set of privileges which were already defined.
 Set<Privilege> InvalidPrivilegeException.getInvalidPrivileges()
          Get the set of privileges which were found to be invalid.
 Set<Privilege> PrivilegeNotFoundException.getNotFoundPrivileges()
          Get the set of privileges which were not found.
 

Constructor parameters in com.sas.hls.security.privilege.exception with type arguments of type Privilege
InvalidPrivilegeException(String message, Set<Privilege> invalidPrivileges)
          Constructor specifying multiple invalid privileges
PrivilegeExistsException(String message, Set<Privilege> existingPrivs)
          Constructor when multiple privileges are found to be already defined
PrivilegeNotFoundException(String message, Set<Privilege> notFoundPrivileges)
          Constructor with detailed message and set of privileges which were not found on the server.
 

Uses of Privilege in com.sas.hls.security.role
 

Methods in com.sas.hls.security.role that return types with arguments of type Privilege
 Set<Privilege> Role.getPrivileges()
          Get the privileges associated with this role.
 

Methods in com.sas.hls.security.role with parameters of type Privilege
 Set<RoleDescriptor> RoleDefinitionService.getAllRolesByPrivilege(Privilege privilege)
          Get all roles defined which include the specified privilege.
 Set<RoleDescriptor> RoleDefinitionService.getRolesByPrivilege(RoleContext roleContext, Privilege privilege)
          Get all roles defined in a given context which include the specified privilege.
 

Method parameters in com.sas.hls.security.role with type arguments of type Privilege
 Role RoleDefinitionService.createRole(RoleContext roleContext, String name, String description, Set<Privilege> privileges)
          Create a role and assign role to the specified context.
 void Role.setPrivileges(Set<Privilege> privileges)
          Set the privileges associated with this role.
 

Constructor parameters in com.sas.hls.security.role with type arguments of type Privilege
Role(Identifiable roleContext, String name, String identifier, String description, Set<Privilege> privileges)
          Constructor
Role(ObjectIdentity roleContext, String name, String identifier, String description, Set<Privilege> privileges)
          Constructor
Role(ObjectIdentity roleContext, String name, String identifier, String description, Set<Privilege> privileges, long revision)
          Constructor (internal version)
 



Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA