Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.security.spi
Interface WLSGroup

All Superinterfaces:
Principal
All Known Implementing Classes:
WLSGroupImpl

public interface WLSGroup
extends 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 SubjectUtils.isUserInGroup method.

See Also:
WLSUser, SubjectUtils.isUserInGroup(javax.security.auth.Subject,java.lang.String)

Method Summary

 

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

 


Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09