|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.WLSPrincipals
Use this class to find out if a Principal has special meaning to WebLogic Server.
Constructor Summary | |
WLSPrincipals()
|
Method Summary | |
static java.lang.String |
getAdministratorsGroupname()
Get the name of the Administrators group. |
static java.lang.String |
getAnonymousRolename()
Get the name of the Anonymous role. |
static java.lang.String |
getAnonymousUsername()
Get the name of the anonymous user. |
static java.security.Principal |
getAnonymousUserPrincipal()
Returns a principal that corresponds to the anonymous username. |
static java.lang.String |
getEveryoneGroupname()
Get the name of the everyone group. |
static java.lang.String |
getKernelUsername()
Get the name of the kernel user. |
static java.lang.String |
getUsersGroupname()
Get the name of the users group. |
static boolean |
isAnonymousPrincipal(java.security.Principal principal)
Used to tell if a Principal is an anonymous Principal. |
static boolean |
isAnonymousRolename(java.lang.String rolename)
Used to tell if a given rolename is "Anonymous" rolename |
static boolean |
isAnonymousUsername(java.lang.String username)
Used to tell if a username is the anonymous user. |
static boolean |
isKernelUsername(java.lang.String username)
Used to tell if a username is the kernel user. |
static boolean |
isSpecialGroupname(java.lang.String groupname)
Used to tell if a groupname is one of the WLS special groups, currently only "users" and "everyone". |
static boolean |
isSpecialUsername(java.lang.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 java.lang.String getAnonymousUsername()
public static java.lang.String getAdministratorsGroupname()
public static java.lang.String getUsersGroupname()
public static java.lang.String getEveryoneGroupname()
public static java.lang.String getAnonymousRolename()
public static java.lang.String getKernelUsername()
public static java.security.Principal getAnonymousUserPrincipal()
public static boolean isAnonymousPrincipal(java.security.Principal principal)
principal
- the Principal to testpublic static boolean isSpecialGroupname(java.lang.String groupname)
groupname
- the name of the grouppublic static boolean isAnonymousRolename(java.lang.String rolename)
rolename
- the name of the rolepublic static boolean isSpecialUsername(java.lang.String username)
username
- the name of the userpublic static boolean isKernelUsername(java.lang.String username)
username
- the name of the userpublic static boolean isAnonymousUsername(java.lang.String username)
username
- the name of the user
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |