|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.acl.Realm
public final class Realm
The Realm class is used for its name space only. It combines functions to find and create realm implementations. This will be superceded by JNDI.
Constructor Summary | |
---|---|
Realm()
Deprecated. |
Method Summary | |
---|---|
static User |
authenticate(UserInfo userInfo)
Deprecated. Authenticates the user, based on a UserInfo structure. |
static boolean |
checkPermission(Principal principal,
String realmName,
String aclName,
String permissionName)
Deprecated. Checks whether a Principal has a named Acl in some realm that grants the named permission. |
static boolean |
checkPermission(Principal principal,
String realmName,
String aclName,
String permissionName,
char sep)
Deprecated. Checks whether a Principal has a named Acl in some realm that grants the named permission. |
static boolean |
checkPermission(String subsystem,
Principal principal,
String realmName,
String aclName,
String permissionName)
Deprecated. |
static boolean |
checkPermission(String subsystem,
Principal principal,
String realmName,
String aclName,
String permissionName,
char sep)
Deprecated. |
static String |
getAuthenticatedName(UserInfo userInfo)
Deprecated. Authenticates the user, based on a UserInfo structure. |
static weblogic.common.internal.LogOutputStream |
getLog()
Deprecated. |
static BasicRealm |
getRealm(String name)
Deprecated. Gets a realm of that name, possibly creating a default one with no credentials as a side effect. |
static BasicRealm |
getRealm(String name,
Object credential)
Deprecated. Gets a realm of that name, possibly creating a default one with the passed credential as a side effect. |
static BasicRealm |
getRealm(String name,
Object credential,
String className)
Deprecated. Gets a realm of the specified name. |
static BasicRealm |
getRealm(String name,
Object credential,
String className,
Properties props)
Deprecated. Gets a realm of the specified name, credential, and implementation class name if it exists, and creates one if it does not, using the specified implementation class name and credential. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Realm()
Method Detail |
---|
public static BasicRealm getRealm(String name)
name
- Name of realm to retrieve
public static BasicRealm getRealm(String name, Object credential)
name
- Name of realm to retrievecredential
- Credential of realm
public static BasicRealm getRealm(String name, Object credential, String className)
name
- Name of realm to retrievecredential
- Credential of realmclassName
- Name of the implementation
public static BasicRealm getRealm(String name, Object credential, String className, Properties props)
name
- Name of realmcredential
- Credential of realmclassName
- Name of implementationprops
- Properties to be passed to the realm
public static boolean checkPermission(Principal principal, String realmName, String aclName, String permissionName)
principal
- Principal (AclOwner)realmName
- Realm to check Principal's permissionaclName
- Access control list of PrincipalpermissionName
- Permission to be checked
public static boolean checkPermission(String subsystem, Principal principal, String realmName, String aclName, String permissionName)
public static boolean checkPermission(Principal principal, String realmName, String aclName, String permissionName, char sep)
principal
- Principal (AclOwner)realmName
- Realm to check Principal's permissionaclName
- Access control list of PrincipalpermissionName
- Permission to be checkedsep
- Character separator used in ACL
public static boolean checkPermission(String subsystem, Principal principal, String realmName, String aclName, String permissionName, char sep)
public static weblogic.common.internal.LogOutputStream getLog()
LogServicesDef
public static User authenticate(UserInfo userInfo) throws SecurityException
userInfo
- UserInfo
SecurityException
- if the user cannot be authenticatedpublic static String getAuthenticatedName(UserInfo userInfo) throws SecurityException
userInfo
- UserInfo
SecurityException
- if the user cannot be authenticated
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, 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 Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |