org.jboss.security.identity
Interface Identity


public interface Identity

Identity of an entity (user, process etc)

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

Method Summary
 java.security.acl.Group asGroup()
          Return a Group only if it has been set
 java.security.Principal asPrincipal()
          Returns a Principal only if it set
 java.lang.String getName()
          Get the name of the identity
 Role getRole()
          Get the Role (Role or RoleGroup)
 

Method Detail

getName

java.lang.String getName()
Get the name of the identity

Returns:

getRole

Role getRole()
Get the Role (Role or RoleGroup)

Returns:

asGroup

java.security.acl.Group asGroup()
Return a Group only if it has been set

Returns:

asPrincipal

java.security.Principal asPrincipal()
Returns a Principal only if it set

Returns:


Copyright © 2007 JBoss Inc.. All Rights Reserved.