BEA Systems, Inc.

BEA AquaLogic Enterprise Security Provider SSPI 3.0 API Reference

weblogic.security.spi
Interface WLSGroup


public interface WLSGroup
extends java.security.Principal

The WLSGroup interface is a marker interface used to signify that a principal represents a WebLogic Server group. Therefore, any principal that is going to represent a WebLogic Server group should implement this interface.

If you want to get all the groups a user belongs to, you should get all principals of this type. Alternatively, the best way to find out if a user is in a group is to use the weblogic.security.SubjectUtils.isUserInGroup method.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
See Also:
WLSUser, SubjectUtils.isUserInGroup(javax.security.auth.Subject,java.lang.String)

Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 


Documentation is available at
http://edocs.bea.com/ales/docs30