org.jboss.identity.federation.bindings.jboss.subject
Class JBossIdentityGroup

java.lang.Object
  extended by org.jboss.identity.federation.bindings.jboss.subject.JBossIdentityPrincipal
      extended by org.jboss.identity.federation.bindings.jboss.subject.JBossIdentityGroup
All Implemented Interfaces:
java.io.Serializable, java.security.acl.Group, java.security.Principal

public class JBossIdentityGroup
extends JBossIdentityPrincipal
implements java.security.acl.Group

A Principal Group used to register roles in JBoss

Since:
Jan 16, 2009
Author:
Anil.Saldhana@redhat.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.identity.federation.bindings.jboss.subject.JBossIdentityPrincipal
name
 
Constructor Summary
JBossIdentityGroup(java.lang.String name)
           
 
Method Summary
 boolean addMember(java.security.Principal user)
           
 boolean isMember(java.security.Principal member)
           
 java.util.Enumeration<? extends java.security.Principal> members()
           
 boolean removeMember(java.security.Principal user)
           
 
Methods inherited from class org.jboss.identity.federation.bindings.jboss.subject.JBossIdentityPrincipal
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Constructor Detail

JBossIdentityGroup

public JBossIdentityGroup(java.lang.String name)
Method Detail

addMember

public boolean addMember(java.security.Principal user)
Specified by:
addMember in interface java.security.acl.Group

isMember

public boolean isMember(java.security.Principal member)
Specified by:
isMember in interface java.security.acl.Group

members

public java.util.Enumeration<? extends java.security.Principal> members()
Specified by:
members in interface java.security.acl.Group

removeMember

public boolean removeMember(java.security.Principal user)
Specified by:
removeMember in interface java.security.acl.Group


Copyright © 2009 JBoss Inc.. All Rights Reserved.