Oracle9i Supplied Java Packages Reference Release 1 (9.0.1) Part Number A88898-01 |
|
public class AppCtxManager extends java.lang.Object java.lang.Object | +--oracle.security.rdbms.server.AppCtx.AppCtxManager
AppCtxManager - manages which user classes are allowed to administer the application context
Member Summary |
|
---|---|
Methods |
|
checks the AppCtxPermit Object and lets the user do a clear Context |
|
returns the AppCtxPermit Object |
|
setContext(AppCtxPermit, String, String, String, String, String) |
checks the AppCtxPermit Object and lets the user do a set Contex |
public static void clearContext(AppCtxPermit permit, java.lang.String namespace, java.lang.String client_id, java.lang.String attribute)
This method checks the AppCtxPermit Object and lets the user do a clear Context
permit -
AppCtx object that stores information on the Class designed to administer the Application Context.
namespace
- NameSpace
client_id
- Client-identifier of the session
attribute
- Attribute
username
- Username of the user permitted to see the client
None
A user can create a Globally Accessed Context as:
CREATE CONTEXT hr using HR.initclass ACCESSED GLOBALLY;
When a user intends to administer the hr application context using the Java API, the user is required to use an AppCtxPermit Object. The only Class that is authorized to create a valid AppCtxPermit Object is the HR.initclass Class in the HR Application schema. The AppCtxPermit Object becomes the TRUST point for the administration the HR Context.
public static AppCtxPermit createAppCtxPermit()
This method returns the AppCtxPermit Object
None
AppCtxPermitObject
public static void setContext(AppCtxPermit permit, java.lang.String namespace, java.lang.String attribute, java.lang.String value, java.lang.String username, java.lang.String client_id)
This method checks the AppCtxPermit Object and lets the user do a set Context
permit -
AppCtx object that stores information on the Class designed to administer the Application Context.
namespace
- NameSpace
attribute
- Attribute
value
- Value of the Attribute
username
- Username of the user permitted to see the client
client_id
- Client-identifier of the session
None
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|