Oracle9i Supplied Java Packages Reference
Release 1 (9.0.1)

Part Number A88898-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to next page

11
Class AppCtxManager


AppCtxManager

Syntax

public class AppCtxManager extends java.lang.Object
 
java.lang.Object
  |
  +--oracle.security.rdbms.server.AppCtx.AppCtxManager
       

Description

AppCtxManager - manages which user classes are allowed to administer the application context

Member Summary 

 

Methods 

 

clearContext(AppCtxPermit, String, String, String) 

checks the AppCtxPermit Object and lets the user do a clear Context 

createAppCtxPermit() 

returns the AppCtxPermit Object 

setContext(AppCtxPermit, String, String, String, String, String) 

checks the AppCtxPermit Object and lets the user do a set Contex 

Methods

clearContext(AppCtxPermit, String, String, String)

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

Parameters:

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

Returns

None

createAppCtxPermit()

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

Parameters:

None

Returns

AppCtxPermitObject

setContext(AppCtxPermit, String, String, String, String, String)

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

Parameters:

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

Returns

None


Go to previous page Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback