Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.wtc.jatmi
Interface AppKey


public interface AppKey

This interface can be overridded by security providers who wish to implement their own Appkey.


Field Summary
static int GIDMASK
           
static int GIDSHIFT
           
static int TPSYSADM_KEY
           
static int TPSYSOP_KEY
           
static int UIDMASK
           
 
Method Summary
 UserRec getTuxedoUserRecord(AuthenticatedSubject subj)
          This method returns an APPKEY
 void init(String param, boolean anonAllowed, int defaultAppKey)
          This method initializes the AppKey module.
 void uninit()
          This method releases any resources used by AppKey module.
 

Field Detail

UIDMASK

static final int UIDMASK
See Also:
Constant Field Values

GIDMASK

static final int GIDMASK
See Also:
Constant Field Values

GIDSHIFT

static final int GIDSHIFT
See Also:
Constant Field Values

TPSYSADM_KEY

static final int TPSYSADM_KEY
See Also:
Constant Field Values

TPSYSOP_KEY

static final int TPSYSOP_KEY
See Also:
Constant Field Values
Method Detail

init

void init(String param,
          boolean anonAllowed,
          int defaultAppKey)
          throws TPException
This method initializes the AppKey module.

Parameters:
param - A string that contains the initialization arguments for the class to use. It can be null. You may need to parse this information if necessary.
Throws:
TPException

uninit

void uninit()
            throws TPException
This method releases any resources used by AppKey module.

Throws:
TPException

getTuxedoUserRecord

UserRec getTuxedoUserRecord(AuthenticatedSubject subj)
This method returns an APPKEY

Parameters:
subj - The authenticated user of the current execution thread.
Returns:
On success, a user record to be used for creating Tuxedo AAA token. Null indicates failure.

Copyright 1996, 2010, 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 API Reference
11g Release 1 (10.3.4)

Part Number E13941-04