Liferay 6.2-ce-ga5

com.liferay.portal.kernel.security.jaas
Class PortalGroup

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.ProtectedPrincipal
      extended by com.liferay.portal.kernel.security.jaas.PortalPrincipal
          extended by com.liferay.portal.kernel.security.jaas.PortalGroup
All Implemented Interfaces:
Serializable, Group, Principal

public class PortalGroup
extends PortalPrincipal
implements Group, Serializable

See Also:
Serialized Form

Constructor Summary
PortalGroup(String groupName)
           
 
Method Summary
 boolean addMember(Principal user)
           
 boolean isMember(Principal member)
           
 Enumeration<Principal> members()
           
 boolean removeMember(Principal user)
           
 
Methods inherited from class com.liferay.portal.kernel.servlet.ProtectedPrincipal
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Constructor Detail

PortalGroup

public PortalGroup(String groupName)
Method Detail

addMember

public boolean addMember(Principal user)
Specified by:
addMember in interface Group

isMember

public boolean isMember(Principal member)
Specified by:
isMember in interface Group

members

public Enumeration<Principal> members()
Specified by:
members in interface Group

removeMember

public boolean removeMember(Principal user)
Specified by:
removeMember in interface Group

Liferay 6.2-ce-ga5