Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

com.bea.core.jatmi.intf
Interface TCAppKey


public interface TCAppKey

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
 void doCache(boolean cached)
           
 UserRec getTuxedoUserRecord(TCAuthenticatedUser subj)
          This method returns an APPKEY
 void init(String param, boolean anonAllowed, int defaultAppKey)
          This method initializes the AppKey module.
 boolean isCached()
           
 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. Returns on failure to initialize the plug-in, it will throw TPException.TPESYSTEM.
Throws:
TPException

uninit

void uninit()
            throws TPException
This method releases any resources used by AppKey module. Returns on failure to remove the plug-in module, it throws TPException.

Throws:
TPException

getTuxedoUserRecord

UserRec getTuxedoUserRecord(TCAuthenticatedUser 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.

doCache

void doCache(boolean cached)

isCached

boolean isCached()

Copyright 1996, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02