org.apache.catalina
Interface Role
- Principal
- AbstractRole, MemoryRole
public interface Role
extends Principal
Abstract representation of a security role, suitable for use in
environments like JAAS that want to deal with Principals
.
Version:
- Craig R. McClanahan
- 4.1
getDescription
public String getDescription()
Return the description of this role.
getRolename
public String getRolename()
Return the role name of this role, which must be unique
within the scope of a
UserDatabase
.
setDescription
public void setDescription(String description)
Set the description of this role.
description
- The new description
setRolename
public void setRolename(String rolename)
Set the role name of this role, which must be unique
within the scope of a
UserDatabase
.
rolename
- The new role name
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.