|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
Role.create(java.lang.String name)
Creates a new Role in the system. |
Role |
TurbineRole.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 |
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. |
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. |
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.getNewRole(java.lang.String roleName)
Retrieves a named Permission. |
static Role |
TurbineSecurity.getRole(java.lang.String roleName)
Retrieves a named Role. |
Role |
SecurityService.getNewRole(java.lang.String roleName)
Retrieves a new Role. |
Role |
SecurityService.getRole(java.lang.String name)
Retrieve a Role object with specified name. |
Role |
SecurityService.addRole(Role role)
Creates a new role with specified attributes. |
Role |
BaseSecurityService.getRole(java.lang.String name)
Retrieve a Role object with specified name. |
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.getNewRole(java.lang.String roleName)
Retrieves a new 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)
|
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)
Returns a Role with the given name, if it is contained in this RoleSet. |
Role[] |
RoleSet.getRolesArray()
Returns an Roles[] 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.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 |