org.jboss.security.identity
Interface Role

All Known Subinterfaces:
RoleGroup

public interface Role

Represents a Role

Since:
Nov 16, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Method Summary
 boolean containsAll(Role anotherRole)
          Indicate whether the argument role is equal or contained depending on the role-type
 java.lang.String getRoleName()
          Get Name of the Role
 RoleType getType()
          Get type of role
 

Method Detail

getRoleName

java.lang.String getRoleName()
Get Name of the Role

Returns:

getType

RoleType getType()
Get type of role

Returns:
simple,group

containsAll

boolean containsAll(Role anotherRole)
Indicate whether the argument role is equal or contained depending on the role-type

Parameters:
anotherRole -
Returns:
true or false


Copyright © 2008 JBoss Inc.. All Rights Reserved.