|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.WLSPrincipals
public class WLSPrincipals
Use this class to find out if a Principal has special meaning to WebLogic Server.
Constructor Summary | |
---|---|
WLSPrincipals()
|
Method Summary | |
---|---|
static String |
getAdministratorsGroupname()
Get the name of the Administrators group. |
static String |
getAnonymousRolename()
Get the name of the Anonymous role. |
static String |
getAnonymousUsername()
Get the name of the anonymous user. |
static Principal |
getAnonymousUserPrincipal()
Returns a principal that corresponds to the anonymous username. |
static String |
getEveryoneGroupname()
Get the name of the everyone group. |
static String |
getKernelUsername()
Get the name of the kernel user. |
static String |
getUsersGroupname()
Get the name of the users group. |
static boolean |
isAnonymousPrincipal(Principal principal)
Used to tell if a Principal is an anonymous Principal. |
static boolean |
isAnonymousRolename(String rolename)
Used to tell if a given rolename is "Anonymous" rolename |
static boolean |
isAnonymousUsername(String username)
Used to tell if a username is the anonymous user. |
static boolean |
isKernelUsername(String username)
Used to tell if a username is the kernel user. |
static boolean |
isSpecialGroupname(String groupname)
Used to tell if a groupname is one of the WLS special groups, currently only "users" and "everyone". |
static boolean |
isSpecialUsername(String username)
Used to tell if a username is one of the WLS special groups, currently only " |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WLSPrincipals()
Method Detail |
---|
public static String getAnonymousUsername()
public static String getAdministratorsGroupname()
public static String getUsersGroupname()
public static String getEveryoneGroupname()
public static String getAnonymousRolename()
public static String getKernelUsername()
public static Principal getAnonymousUserPrincipal()
public static boolean isAnonymousPrincipal(Principal principal)
principal
- the Principal to test
public static boolean isSpecialGroupname(String groupname)
groupname
- the name of the group
public static boolean isAnonymousRolename(String rolename)
rolename
- the name of the role
public static boolean isSpecialUsername(String username)
username
- the name of the user
public static boolean isKernelUsername(String username)
username
- the name of the user
public static boolean isAnonymousUsername(String username)
username
- the name of the user
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |