Uses of Interface
org.apache.turbine.om.security.Role

Packages that use Role
org.apache.turbine.om.security Security object definitions for the Security Service. 
org.apache.turbine.services.security The security service can be used to authenticate users based on database information. 
org.apache.turbine.services.security.ldap An LDAP based security service implementation. 
org.apache.turbine.services.security.torque A security service implementation based on Torque generated peer classes. 
org.apache.turbine.util Various utilities used in Turbine and for Turbine based applications. 
org.apache.turbine.util.security Some helper classes and interfaces for the Security Service. 
org.apache.turbine.util.template Template related utilities. 
 

Uses of Role in org.apache.turbine.om.security
 

Classes in org.apache.turbine.om.security that implement Role
 class TurbineRole
          This class represents a role played by the User associated with the current Session.
 

Methods in org.apache.turbine.om.security that return Role
 Role TurbineRole.create(String name)
          Creates a new Role in the system.
 Role Role.create(String name)
          Creates a new Role in the system.
 

Methods in org.apache.turbine.om.security with parameters of type Role
 void TurbineGroup.grant(User user, Role role)
          Grants a Role in this Group to an User.
 void Group.grant(User user, Role role)
          Grants a Role in this Group to an User.
 void TurbineGroup.revoke(User user, Role role)
          Revokes a Role in this Group from an User.
 void Group.revoke(User user, Role role)
          Revokes a Role in this Group from an User.
 

Uses of Role in org.apache.turbine.services.security
 

Methods in org.apache.turbine.services.security that return Role
 Role SecurityService.addRole(Role role)
          Creates a new role with specified attributes.
static Role TurbineSecurity.createRole(String name)
          Creates a new Role in the system.
static Role TurbineSecurity.getRoleById(int roleId)
          Retrieve a Role object with specified Id.
 Role SecurityService.getRoleById(int id)
          Retrieve a Role object with specified Id.
 Role BaseSecurityService.getRoleById(int id)
          Retrieve a Role object with specified Id.
static Role TurbineSecurity.getRoleByName(String roleName)
          Retrieve a Role object with specified name.
 Role SecurityService.getRoleByName(String name)
          Retrieve a Role object with specified name.
 Role BaseSecurityService.getRoleByName(String name)
          Retrieve a Role object with specified name.
 Role SecurityService.getRoleInstance()
          Construct a blank Role object.
 Role BaseSecurityService.getRoleInstance()
          Construct a blank Role object.
static Role TurbineSecurity.getRoleInstance(String roleName)
          Construct a blank Role object.
 Role SecurityService.getRoleInstance(String roleName)
          Construct a blank Role object.
 Role BaseSecurityService.getRoleInstance(String roleName)
          Construct a blank Role object.
 

Methods in org.apache.turbine.services.security with parameters of type Role
static void TurbineSecurity.addRole(Role role)
          Creates a new role with specified attributes.
 Role SecurityService.addRole(Role role)
          Creates a new role with specified attributes.
static PermissionSet TurbineSecurity.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 PermissionSet SecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
static void TurbineSecurity.grant(Role role, Permission permission)
          Grants a Role a Permission
 void SecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
static void TurbineSecurity.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void SecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
static void TurbineSecurity.removeRole(Role role)
          Removes a Role from the system.
 void SecurityService.removeRole(Role role)
          Removes a Role from the system.
static void TurbineSecurity.renameRole(Role role, String name)
          Renames an existing Role.
 void SecurityService.renameRole(Role role, String name)
          Renames an existing Role.
static void TurbineSecurity.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 void SecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
static void TurbineSecurity.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void SecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
static void TurbineSecurity.revokeAll(Role role)
          Revokes all permissions from a Role.
 void SecurityService.revokeAll(Role role)
          Revokes all permissions from a Role.
static void TurbineSecurity.saveRole(Role role)
          Stores Role's attributes.
 void SecurityService.saveRole(Role role)
          Stores Role's attributes.
 

Uses of Role in org.apache.turbine.services.security.ldap
 

Methods in org.apache.turbine.services.security.ldap that return Role
 Role LDAPSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 Role LDAPSecurityService.getNewRole(String roleName)
          Retrieves a new Role.
 

Methods in org.apache.turbine.services.security.ldap with parameters of type Role
 Role LDAPSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 boolean LDAPSecurityService.checkExists(Role role)
          Determines if the Role exists in the security system.
 PermissionSet LDAPSecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 void LDAPSecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
 void LDAPSecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void LDAPSecurityService.removeRole(Role role)
          Removes a Role from the system.
 void LDAPSecurityService.renameRole(Role role, String name)
          Renames an existing Role.
 void LDAPSecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 void LDAPSecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void LDAPSecurityService.revokeAll(Role role)
          Revoke all the permissions to a role.
 void LDAPSecurityService.saveRole(Role role)
          Stores Role's attributes.
 

Uses of Role in org.apache.turbine.services.security.torque
 

Classes in org.apache.turbine.services.security.torque that implement Role
 class TorqueRole
          This class represents a role played by the User associated with the current Session.
 

Methods in org.apache.turbine.services.security.torque that return Role
 Role TorqueSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
 Role TorqueRole.create(String name)
          Creates a new Role in the system.
static Role RolePeerManager.getNewRole(org.apache.torque.om.Persistent p)
          Returns a new, configured Role Object with a supplied Persistent object at its core
 

Methods in org.apache.turbine.services.security.torque with parameters of type Role
 Role TorqueSecurityService.addRole(Role role)
          Creates a new role with specified attributes.
static org.apache.torque.util.Criteria RolePeerManager.buildCriteria(Role role)
          Calls buildCriteria(Role role) in the configured RolePeer.
protected  boolean TorqueSecurityService.checkExists(Role role)
          Determines if the Role exists in the security system.
static boolean RolePeerManager.checkExists(Role role)
          Checks if a Role is defined in the system.
 PermissionSet TorqueSecurityService.getPermissions(Role role)
          Retrieves all permissions associated with a role.
 void TorqueSecurityService.grant(Role role, Permission permission)
          Grants a Role a Permission
 void TorqueSecurityService.grant(User user, Group group, Role role)
          Grant an User a Role in a Group.
 void TorqueGroup.grant(User user, Role role)
          Grants a Role in this Group to an User.
 void TorqueSecurityService.removeRole(Role role)
          Removes a Role from the system.
 void TorqueSecurityService.renameRole(Role role, String name)
          Renames an existing Role.
static PermissionSet PermissionPeerManager.retrieveSet(Role role)
          Retrieves a set of Permissions associated with a particular Role.
 void TorqueSecurityService.revoke(Role role, Permission permission)
          Revokes a Permission from a Role.
 void TorqueSecurityService.revoke(User user, Group group, Role role)
          Revoke a Role in a Group from an User.
 void TorqueGroup.revoke(User user, Role role)
          Revokes a Role in this Group from an User.
 void TorqueSecurityService.revokeAll(Role role)
          Revokes all permissions from a Role.
 void TorqueSecurityService.saveRole(Role role)
          Stores Role's attributes.
 

Uses of Role in org.apache.turbine.util
 

Methods in org.apache.turbine.util with parameters of type Role
 boolean SecurityCheck.hasRole(Role role)
          Does the user have this role?
 

Uses of Role in org.apache.turbine.util.security
 

Methods in org.apache.turbine.util.security that return Role
 Role RoleSet.getRoleById(int roleId)
          Returns a Role with the given id, if it is contained in this RoleSet.
 Role RoleSet.getRoleByName(String roleName)
          Returns a Role with the given name, if it is contained in this RoleSet.
 Role[] RoleSet.getRolesArray()
          Returns an Array of Roles in this RoleSet.
 

Methods in org.apache.turbine.util.security with parameters of type Role
 boolean RoleSet.add(Role role)
          Adds a Role to this RoleSet.
 boolean RoleSet.contains(Role role)
          Checks whether this RoleSet contains a Role.
 boolean TurbineAccessControlList.hasRole(Role role)
          Checks if the user is assigned a specific Role in the global Group.
 boolean AccessControlList.hasRole(Role role)
          Checks if the user is assigned a specific Role in the global Group.
 boolean TurbineAccessControlList.hasRole(Role role, Group group)
          Checks if the user is assigned a specific Role in the Group.
 boolean AccessControlList.hasRole(Role role, Group group)
          Checks if the user is assigned a specific Role in the Group.
 boolean TurbineAccessControlList.hasRole(Role role, GroupSet groupset)
          Checks if the user is assigned a specific Role in any of the given Groups
 boolean AccessControlList.hasRole(Role role, GroupSet groupset)
          Checks if the user is assigned a specific Role in any of the given Groups
 boolean RoleSet.remove(Role role)
          Removes a Role from this RoleSet.
 

Method parameters in org.apache.turbine.util.security with type arguments of type Role
 boolean RoleSet.add(Collection<Role> roles)
          Adds the Roles in a Collection to this RoleSet.
 

Constructor parameters in org.apache.turbine.util.security with type arguments of type Role
RoleSet(Collection<Role> roles)
          Constructs a new RoleSet with specified contents.
 

Uses of Role in org.apache.turbine.util.template
 

Methods in org.apache.turbine.util.template with parameters of type Role
 boolean TemplateSecurityCheck.hasRole(Role role)
          Does the User have this role?
 



Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.