Uses of Class
com.sun.enterprise.deployment.Role

Packages that use Role
com.sun.enterprise.deployment   
com.sun.enterprise.deployment.interfaces   
com.sun.enterprise.deployment.node   
 

Uses of Role in com.sun.enterprise.deployment
 

Methods in com.sun.enterprise.deployment that return Role
 Role RoleReference.getRole()
          Return the role object from this descriptor.
 Role MethodPermission.getRole()
           
 

Methods in com.sun.enterprise.deployment that return types with arguments of type Role
 java.util.Set<Role> Application.getAppRoles()
          Return the set of com.sun.enterprise.deployment.Role objects I have (the ones defined in application xml).
 java.util.Set<Role> Application.getRoles()
          Return the set of roles used in this application.
 java.util.Set<Role> BundleDescriptor.getRoles()
          Return the set of com.sun.enterprise.deployment.Role objects I have plus the ones from application
 

Methods in com.sun.enterprise.deployment with parameters of type Role
 void Application.addRole(Role role)
          Adds a new abstract role
 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.removeRole(Role role)
          Removes the given role.
 void BundleDescriptor.removeRole(Role role)
          Removes a role object from me.
 void EjbBundleDescriptor.removeRole(Role role)
          Removes the given com.sun.enterprise.deployment.Role object from me.
 void Roles.removeRole(Role role)
          Remove the specified role from the set of roles.
 

Constructors in com.sun.enterprise.deployment with parameters of type Role
MethodPermission(Role role)
          construct a new MethodPermission based on a security role
SecurityRoleDescriptor(Role role)
          Construct a SecurityRoleDescriptor from the given role object.
 

Uses of Role in com.sun.enterprise.deployment.interfaces
 

Methods in com.sun.enterprise.deployment.interfaces with parameters of type Role
 void SecurityRoleMapper.assignRole(java.security.Principal p, Role r, RootDeploymentDescriptor rdd)
          Assigns a Principal to the specified role.
 java.util.Enumeration SecurityRoleMapper.getGroupsAssignedTo(Role r)
          Returns an enumeration of Groups assigned to the given role
 java.util.Enumeration SecurityRoleMapper.getUsersAssignedTo(Role r)
           
 void SecurityRoleMapper.unassignPrincipalFromRole(Role role, java.security.Principal principal)
          Remove the given role-principal mapping
 void SecurityRoleMapper.unassignRole(Role role)
          Remove all the role mapping information for this role
 

Uses of Role in com.sun.enterprise.deployment.node
 

Methods in com.sun.enterprise.deployment.node with parameters of type Role
 org.w3c.dom.Node SecurityRoleNode.writeDescriptor(org.w3c.dom.Node parent, java.lang.String nodeName, Role descriptor)
          write the descriptor class to a DOM tree and return it
 



Copyright © 2012 GlassFish Community. All Rights Reserved.