Save This Page
Home » glassfish-v2ur2-b04-src » org.apache » catalina » [javadoc | source]
org.apache.catalina
public interface: Role [javadoc | source]

All Implemented Interfaces:
    Principal

All Known Implementing Classes:
    AbstractRole, MemoryRole

Abstract representation of a security role, suitable for use in environments like JAAS that want to deal with Principals.

Method from org.apache.catalina.Role Summary:
getDescription,   getRolename,   getUserDatabase,   setDescription,   setRolename
Method from org.apache.catalina.Role Detail:
 public String getDescription()
    Return the description of this role.
 public String getRolename()
    Return the role name of this role, which must be unique within the scope of a UserDatabase .
 public UserDatabase getUserDatabase()
 public  void setDescription(String description)
    Set the description of this role.
 public  void setRolename(String rolename)
    Set the role name of this role, which must be unique within the scope of a UserDatabase .