|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.acl.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(java.security.Principal principal,
java.lang.String realmName,
java.lang.String aclName,
java.lang.String permissionName)
Deprecated. Checks whether a Principal has a named Acl in some realm that grants the named permission. |
static boolean |
checkPermission(java.security.Principal principal,
java.lang.String realmName,
java.lang.String aclName,
java.lang.String permissionName,
char sep)
Deprecated. Checks whether a Principal has a named Acl in some realm that grants the named permission. |
static boolean |
checkPermission(java.lang.String subsystem,
java.security.Principal principal,
java.lang.String realmName,
java.lang.String aclName,
java.lang.String permissionName)
Deprecated. |
static boolean |
checkPermission(java.lang.String subsystem,
java.security.Principal principal,
java.lang.String realmName,
java.lang.String aclName,
java.lang.String permissionName,
char sep)
Deprecated. |
static java.lang.String |
getAuthenticatedName(UserInfo userInfo)
Deprecated. Authenticates the user, based on a UserInfo structure. |
static weblogic.common.internal.LogOutputStream |
getLog()
Deprecated. |
static BasicRealm |
getRealm(java.lang.String name)
Deprecated. Gets a realm of that name, possibly creating a default one with no credentials as a side effect. |
static BasicRealm |
getRealm(java.lang.String name,
java.lang.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(java.lang.String name,
java.lang.Object credential,
java.lang.String className)
Deprecated. Gets a realm of the specified name. |
static BasicRealm |
getRealm(java.lang.String name,
java.lang.Object credential,
java.lang.String className,
java.util.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(java.lang.String name)
name
- Name of realm to retrievepublic static BasicRealm getRealm(java.lang.String name, java.lang.Object credential)
name
- Name of realm to retrievecredential
- Credential of realmpublic static BasicRealm getRealm(java.lang.String name, java.lang.Object credential, java.lang.String className)
name
- Name of realm to retrievecredential
- Credential of realmclassName
- Name of the implementationpublic static BasicRealm getRealm(java.lang.String name, java.lang.Object credential, java.lang.String className, java.util.Properties props)
name
- Name of realmcredential
- Credential of realmclassName
- Name of implementationprops
- Properties to be passed to the realmpublic static boolean checkPermission(java.security.Principal principal, java.lang.String realmName, java.lang.String aclName, java.lang.String permissionName)
principal
- Principal (AclOwner)realmName
- Realm to check Principal's permissionaclName
- Access control list of PrincipalpermissionName
- Permission to be checkedpublic static boolean checkPermission(java.lang.String subsystem, java.security.Principal principal, java.lang.String realmName, java.lang.String aclName, java.lang.String permissionName)
public static boolean checkPermission(java.security.Principal principal, java.lang.String realmName, java.lang.String aclName, java.lang.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 ACLpublic static boolean checkPermission(java.lang.String subsystem, java.security.Principal principal, java.lang.String realmName, java.lang.String aclName, java.lang.String permissionName, char sep)
public static weblogic.common.internal.LogOutputStream getLog()
public static User authenticate(UserInfo userInfo) throws java.lang.SecurityException
userInfo
- UserInfopublic static java.lang.String getAuthenticatedName(UserInfo userInfo) throws java.lang.SecurityException
userInfo
- UserInfo
|
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 |