| Package | Description |
|---|---|
| com.sun.enterprise.deployment | |
| com.sun.enterprise.deployment.node | |
| com.sun.enterprise.security.acl | |
| org.glassfish.deployment.common | |
| org.glassfish.ejb.deployment.descriptor |
| Modifier and Type | Method and Description |
|---|---|
Role |
MethodPermission.getRole() |
Role |
RoleReference.getRole()
Return the role object from this descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Role> |
Application.getAppRoles()
Return the set of
Role objects
I have (the ones defined in application xml). |
Set<Role> |
EjbDescriptor.getPermissionedRoles() |
Set<Role> |
BundleDescriptor.getRoles()
Return the set of com.sun.enterprise.deployment.Role objects
I have plus the ones from application
|
Set<Role> |
Application.getRoles()
Return the set of roles used in this application.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BundleDescriptor.addRole(Role role)
Adds a role object to me.
|
void |
Roles.addRole(Role role)
Add the specified role to the set of roles.
|
void |
Application.addRole(Role role)
Adds a new abstract role
|
void |
BundleDescriptor.removeRole(Role role)
Removes a role object from me.
|
void |
Roles.removeRole(Role role)
Remove the specified role from the set of roles.
|
void |
Application.removeRole(Role role)
Removes the given role.
|
| Constructor and Description |
|---|
MethodPermission(Role role)
construct a new MethodPermission based on a security role
|
SecurityRoleDescriptor(Role role)
Construct a SecurityRoleDescriptor from the given role object.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
SecurityRoleNode.writeDescriptor(Node parent,
String nodeName,
Role descriptor)
write the descriptor class to a DOM tree and return it
|
| Modifier and Type | Method and Description |
|---|---|
void |
RoleMapper.assignRole(Principal p,
Role r,
RootDeploymentDescriptor rdd)
Assigns a Principal to the specified role.
|
Enumeration<Group> |
RoleMapper.getGroupsAssignedTo(Role r)
Returns an enumeration of Groups assigned to the given role
|
Enumeration<Principal> |
RoleMapper.getUsersAssignedTo(Role r)
Returns an enumeration of Principals assigned to the given role
|
void |
RoleMapper.unassignPrincipalFromRole(Role role,
Principal principal)
Remove the given role-principal mapping
|
void |
RoleMapper.unassignRole(Role r) |
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityRoleMapper.assignRole(Principal p,
Role r,
RootDeploymentDescriptor rdd)
Assigns a Principal to the specified role.
|
Enumeration |
SecurityRoleMapper.getGroupsAssignedTo(Role r)
Returns an enumeration of Groups assigned to the given role
|
Enumeration |
SecurityRoleMapper.getUsersAssignedTo(Role r) |
void |
SecurityRoleMapper.unassignPrincipalFromRole(Role role,
Principal principal)
Remove the given role-principal mapping
|
void |
SecurityRoleMapper.unassignRole(Role role)
Remove all the role mapping information for this role
|
| Modifier and Type | Method and Description |
|---|---|
Set<Role> |
EjbDescriptor.getPermissionedRoles() |
| Modifier and Type | Method and Description |
|---|---|
void |
EjbBundleDescriptorImpl.removeRole(Role role)
Removes the given org.glassfish.security.common.Role object from me.
|
Copyright © 2019. All rights reserved.