|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Role | |
org.apache.turbine.om.security | Security object definitions for the Security Service. |
org.apache.turbine.om.security.peer | Hand rolled peers for the DB 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.db | A security service implementation that used an SQL database for authentication. |
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(java.lang.String name)
Creates a new Role in the system. |
Role |
Role.create(java.lang.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 |
TurbineGroup.revoke(User user,
Role role)
Revokes a Role in this Group from an User. |
void |
Group.grant(User user,
Role role)
Grants a Role in this Group to 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.om.security.peer |
Methods in org.apache.turbine.om.security.peer with parameters of type Role | |
static PermissionSet |
PermissionPeer.retrieveSet(Role role)
Retrieves a set of Permissions associated with a particular Role. |
static org.apache.torque.util.Criteria |
RolePeer.buildCriteria(Role role)
Builds a criteria object based upon an Role object |
static boolean |
RolePeer.checkExists(Role role)
Checks if a Role is defined in the system. |
Uses of Role in org.apache.turbine.services.security |
Methods in org.apache.turbine.services.security that return Role | |
static Role |
TurbineSecurity.createRole(java.lang.String name)
Creates a new Role in the system. |
static Role |
TurbineSecurity.getRoleInstance(java.lang.String roleName)
Construct a blank Role object. |
static Role |
TurbineSecurity.getNewRole(java.lang.String roleName)
Deprecated. Use getRoleInstance(String name) instead. |
static Role |
TurbineSecurity.getRole(java.lang.String roleName)
Deprecated. Use getRoleByName instead. |
static Role |
TurbineSecurity.getRoleByName(java.lang.String roleName)
Retrieve a Role object with specified name. |
static Role |
TurbineSecurity.getRoleById(int roleId)
Retrieve a Role object with specified Id. |
Role |
SecurityService.getRoleInstance()
Construct a blank Role object. |
Role |
SecurityService.getRoleInstance(java.lang.String roleName)
Construct a blank Role object. |
Role |
SecurityService.getNewRole(java.lang.String roleName)
Deprecated. Use getRoleInstance(String name) instead. |
Role |
SecurityService.getRole(java.lang.String name)
Deprecated. Use getRoleByName instead. |
Role |
SecurityService.getRoleByName(java.lang.String name)
Retrieve a Role object with specified name. |
Role |
SecurityService.getRoleById(int id)
Retrieve a Role object with specified Id. |
Role |
SecurityService.addRole(Role role)
Creates a new role with specified attributes. |
Role |
BaseSecurityService.getRoleInstance()
Construct a blank Role object. |
Role |
BaseSecurityService.getRoleInstance(java.lang.String roleName)
Construct a blank Role object. |
Role |
BaseSecurityService.getRole(java.lang.String name)
Deprecated. Use getRoleByName instead. |
Role |
BaseSecurityService.getRoleByName(java.lang.String name)
Retrieve a Role object with specified name. |
Role |
BaseSecurityService.getRoleById(int id)
Retrieve a Role object with specified Id. |
Role |
BaseSecurityService.getNewRole(java.lang.String roleName)
Deprecated. Use getRoleInstance(String name) instead. |
Methods in org.apache.turbine.services.security with parameters of type Role | |
static void |
TurbineSecurity.grant(User user,
Group group,
Role role)
Grant an User a Role in a Group. |
static void |
TurbineSecurity.revoke(User user,
Group group,
Role role)
Revoke a Role in a Group from an User. |
static void |
TurbineSecurity.grant(Role role,
Permission permission)
Grants a Role a Permission |
static void |
TurbineSecurity.revoke(Role role,
Permission permission)
Revokes a Permission from a Role. |
static void |
TurbineSecurity.revokeAll(Role role)
Revokes all permissions from a Role. |
static PermissionSet |
TurbineSecurity.getPermissions(Role role)
Retrieves all permissions associated with a role. |
static void |
TurbineSecurity.saveRole(Role role)
Stores Role's attributes. |
static void |
TurbineSecurity.addRole(Role role)
Creates a new role with specified attributes. |
static void |
TurbineSecurity.removeRole(Role role)
Removes a Role from the system. |
static void |
TurbineSecurity.renameRole(Role role,
java.lang.String name)
Renames an existing Role. |
PermissionSet |
SecurityService.getPermissions(Role role)
Retrieves all permissions associated with a role. |
void |
SecurityService.grant(User user,
Group group,
Role role)
Grant an User a Role in a Group. |
void |
SecurityService.revoke(User user,
Group group,
Role role)
Revoke a Role in a Group from an User. |
void |
SecurityService.grant(Role role,
Permission permission)
Grants a Role a Permission |
void |
SecurityService.revoke(Role role,
Permission permission)
Revokes a Permission from a Role. |
void |
SecurityService.revokeAll(Role role)
Revokes all permissions from a Role. |
void |
SecurityService.saveRole(Role role)
Stores Role's attributes. |
Role |
SecurityService.addRole(Role role)
Creates a new role with specified attributes. |
void |
SecurityService.removeRole(Role role)
Removes a Role from the system. |
void |
SecurityService.renameRole(Role role,
java.lang.String name)
Renames an existing Role. |
Uses of Role in org.apache.turbine.services.security.db |
Methods in org.apache.turbine.services.security.db that return Role | |
Role |
DBSecurityService.addRole(Role role)
Creates a new role with specified attributes. |
Methods in org.apache.turbine.services.security.db with parameters of type Role | |
void |
DBSecurityService.grant(User user,
Group group,
Role role)
Grant an User a Role in a Group. |
void |
DBSecurityService.revoke(User user,
Group group,
Role role)
Revoke a Role in a Group from an User. |
void |
DBSecurityService.grant(Role role,
Permission permission)
Grants a Role a Permission |
void |
DBSecurityService.revoke(Role role,
Permission permission)
Revokes a Permission from a Role. |
void |
DBSecurityService.revokeAll(Role role)
Revokes all permissions from a Role. |
PermissionSet |
DBSecurityService.getPermissions(Role role)
Retrieves all permissions associated with a role. |
void |
DBSecurityService.saveRole(Role role)
Stores Role's attributes. |
Role |
DBSecurityService.addRole(Role role)
Creates a new role with specified attributes. |
void |
DBSecurityService.removeRole(Role role)
Removes a Role from the system. |
void |
DBSecurityService.renameRole(Role role,
java.lang.String name)
Renames an existing Role. |
protected boolean |
DBSecurityService.checkExists(Role role)
Determines if the Role exists in the security system. |
Uses of Role in org.apache.turbine.services.security.ldap |
Methods in org.apache.turbine.services.security.ldap that return Role | |
Role |
LDAPSecurityService.getNewRole(java.lang.String roleName)
Retrieves a new Role. |
Role |
LDAPSecurityService.addRole(Role role)
Creates a new role with specified attributes. |
Methods in org.apache.turbine.services.security.ldap with parameters of type Role | |
void |
LDAPSecurityService.grant(User user,
Group group,
Role role)
Grant an User a Role in a Group. |
void |
LDAPSecurityService.revoke(User user,
Group group,
Role role)
Revoke a Role in a Group from an User. |
void |
LDAPSecurityService.grant(Role role,
Permission permission)
Grants a Role a Permission |
void |
LDAPSecurityService.revoke(Role role,
Permission permission)
Revokes a Permission from a Role. |
PermissionSet |
LDAPSecurityService.getPermissions(Role role)
Retrieves all permissions associated with a role. |
void |
LDAPSecurityService.saveRole(Role role)
Stores Role's attributes. |
Role |
LDAPSecurityService.addRole(Role role)
Creates a new role with specified attributes. |
void |
LDAPSecurityService.removeRole(Role role)
Removes a Role from the system. |
void |
LDAPSecurityService.renameRole(Role role,
java.lang.String name)
Renames an existing Role. |
void |
LDAPSecurityService.revokeAll(Role role)
Revoke all the permissions to a role. |
boolean |
LDAPSecurityService.checkExists(Role role)
Determines if the Role exists in the security system. |
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(java.lang.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 | |
void |
TorqueSecurityService.grant(User user,
Group group,
Role role)
Grant an User a Role in a Group. |
void |
TorqueSecurityService.revoke(User user,
Group group,
Role role)
Revoke a Role in a Group from an User. |
void |
TorqueSecurityService.grant(Role role,
Permission permission)
Grants a Role a Permission |
void |
TorqueSecurityService.revoke(Role role,
Permission permission)
Revokes a Permission from a Role. |
void |
TorqueSecurityService.revokeAll(Role role)
Revokes all permissions from a Role. |
PermissionSet |
TorqueSecurityService.getPermissions(Role role)
Retrieves all permissions associated with a role. |
void |
TorqueSecurityService.saveRole(Role role)
Stores Role's attributes. |
Role |
TorqueSecurityService.addRole(Role role)
Creates a new role with specified attributes. |
void |
TorqueSecurityService.removeRole(Role role)
Removes a Role from the system. |
void |
TorqueSecurityService.renameRole(Role role,
java.lang.String name)
Renames an existing Role. |
protected boolean |
TorqueSecurityService.checkExists(Role role)
Determines if the Role exists in the security system. |
static PermissionSet |
PermissionPeerManager.retrieveSet(Role role)
Retrieves a set of Permissions associated with a particular Role. |
void |
TorqueGroup.grant(User user,
Role role)
Grants a Role in this Group to an User. |
void |
TorqueGroup.revoke(User user,
Role role)
Revokes a Role in this Group from an User. |
static boolean |
RolePeerManager.checkExists(Role role)
Checks if a Role is defined in the system. |
static org.apache.torque.util.Criteria |
RolePeerManager.buildCriteria(Role role)
Calls buildCriteria(Role role) in the configured RolePeer. |
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.getRole(java.lang.String roleName)
Deprecated. Use getRoleByName instead. |
Role |
RoleSet.getRoleByName(java.lang.String roleName)
Returns a Role with the given name, if it is contained in this RoleSet. |
Role |
RoleSet.getRoleById(int roleId)
Returns a Role with the given id, 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 |
TurbineAccessControlList.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 |
TurbineAccessControlList.hasRole(Role role)
Checks if the user is assigned a specific Role in the global Group. |
boolean |
RoleSet.add(Role role)
Adds a Role to this RoleSet. |
boolean |
RoleSet.remove(Role role)
Removes a Role from this RoleSet. |
boolean |
RoleSet.contains(Role role)
Checks whether this RoleSet contains a Role. |
boolean |
AccessControlList.hasRole(Role role,
Group group)
Checks if the user is assigned a specific Role in the Group. |
boolean |
AccessControlList.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)
Checks if the user is assigned a specific Role in the global Group. |
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? |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |