com.bea.security.providers.authorization.asi
Interface InitializationShutdownFunction


public interface InitializationShutdownFunction

Interface for implementing java initialization functions and shutdown functions, the method init will be invoked during ATZ provider or RM provider initialization, and the method shutdown will be invoked during ATZ provider or RM provider shutdown.

Author:
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.

Field Summary
static java.lang.String ACCESS_ALLOWED_CACHING
          map key for get configuration for if use access allowed cache.
static java.lang.String ACTIVATE_ON_STARTUP
          map key for get configuration for if activate on startup.
static java.lang.String ADVANCED_CONFIGURATION_PROPERTIES
          map key for get advanced configuration properties for ATZ provider or RM provider.
static java.lang.String ANONYMOUS_SUBJECT_NAME
          map key for get configuration for anonymous subject name.
static java.lang.String APPLICATION_DEPLOYMENT_PARENT
          map key for get configuration for application deployment parent.
static java.lang.String ATTRIBUTE_CONVERTERS
          map key for get configuration for attribute converters.
static java.lang.String ATTRIBUTE_RETRIEVERS
          map key for get configuration for attribute retrievers.
static java.lang.String DB_CONNECTION_IDLE_TIMEOUT
          map key for get configuration for db connection idle timeout seconds.
static java.lang.String DB_LOGIN
          map key for get configuration for database login.
static java.lang.String DB_NAME
          map key for get configuration for database name.
static java.lang.String DB_PASSWORD
          map key for get configuration for database login password.
static java.lang.String DB_POOLSIZE
          map key for get configuration for db pool size.
static java.lang.String DB_SYSTEM
          map key for get configuration for database system.
static java.lang.String DESCRIPTION
          map key for get ATZ provider or RM provider's description info.
static java.lang.String DIRECTORY
          map key for get ATZ provider or RM provider's directory.
static java.lang.String EVALUATION_FUNCTIONS
          map key for get configuration for evaluation functions.
static java.lang.String IGNORE_NON_ASI_ROLES
          map key for get configuration for if ignore non ASI roles.
static java.lang.String INSTANTIATE_WEBLOGIC_RESOURCE_CONVERTERS
          map key for get configuration for if instantiate weblogic resource converters.
static java.lang.String JDBC_DRIVER
          map key for get configuration for JDBC Driver.
static java.lang.String JDBC_URLS
          map key for get configuration for JDBC URLs.
static java.lang.String LAZY_ROLE_PROVIDER
          map key for get configuration for if get roles in lazy mode.
static java.lang.String METADIRECTORY_TIMEOUT_SECOND
          map key for get configuration for metadirectory timeout seconds.
static java.lang.String PRELOAD_ATTRIBUTES
          map key for get configuration for preload attributes.
static java.lang.String PROVIDER_CLASSNAME
          map key for get ATZ provider or RM provider's class name.
static java.lang.String RESOURCE_CONVERTERS
          map key for get configuration for resource converters.
static java.lang.String SESSION_EVICTION_CAPACITY
          map key for get configuration for session eviction capacity.
static java.lang.String SESSION_EVICTION_PERCENTAGE
          map key for get configuration for session eviction percentage.
static java.lang.String SESSION_EXPIRATION_SECOND
          map key for get configuration for session expiration seconds.
static java.lang.String SHARED_RESOURCES_PARENT
          map key for get configuration for shared resources parent.
static java.lang.String SUBJECT_DATA_CACHE_EXPIRATION_SECOND
          map key for get configuration for data cache expiration seconds.
static java.lang.String USE_METADIRECTORY
          map key for get configuration for if use metadirectory.
static java.lang.String USER_OBSERVER
          map key for get UserObserver object.
static java.lang.String VERSION
          map key for get ATZ provider or RM provider's version info.
 
Method Summary
 void init(java.util.Map config)
          initialization function
 void shutdown()
          shutdown function
 

Field Detail

VERSION

public static final java.lang.String VERSION
map key for get ATZ provider or RM provider's version info.

DESCRIPTION

public static final java.lang.String DESCRIPTION
map key for get ATZ provider or RM provider's description info.

PROVIDER_CLASSNAME

public static final java.lang.String PROVIDER_CLASSNAME
map key for get ATZ provider or RM provider's class name.

ADVANCED_CONFIGURATION_PROPERTIES

public static final java.lang.String ADVANCED_CONFIGURATION_PROPERTIES
map key for get advanced configuration properties for ATZ provider or RM provider. The corresoponding value in map is Properties.

DIRECTORY

public static final java.lang.String DIRECTORY
map key for get ATZ provider or RM provider's directory.

PRELOAD_ATTRIBUTES

public static final java.lang.String PRELOAD_ATTRIBUTES
map key for get configuration for preload attributes.

SESSION_EVICTION_CAPACITY

public static final java.lang.String SESSION_EVICTION_CAPACITY
map key for get configuration for session eviction capacity.

SESSION_EVICTION_PERCENTAGE

public static final java.lang.String SESSION_EVICTION_PERCENTAGE
map key for get configuration for session eviction percentage.

APPLICATION_DEPLOYMENT_PARENT

public static final java.lang.String APPLICATION_DEPLOYMENT_PARENT
map key for get configuration for application deployment parent.

SHARED_RESOURCES_PARENT

public static final java.lang.String SHARED_RESOURCES_PARENT
map key for get configuration for shared resources parent.

RESOURCE_CONVERTERS

public static final java.lang.String RESOURCE_CONVERTERS
map key for get configuration for resource converters. The corresoponding value in map is String[].

INSTANTIATE_WEBLOGIC_RESOURCE_CONVERTERS

public static final java.lang.String INSTANTIATE_WEBLOGIC_RESOURCE_CONVERTERS
map key for get configuration for if instantiate weblogic resource converters.

ATTRIBUTE_RETRIEVERS

public static final java.lang.String ATTRIBUTE_RETRIEVERS
map key for get configuration for attribute retrievers. The corresoponding value in map is String[].

EVALUATION_FUNCTIONS

public static final java.lang.String EVALUATION_FUNCTIONS
map key for get configuration for evaluation functions. The corresoponding value in map is String[].

ATTRIBUTE_CONVERTERS

public static final java.lang.String ATTRIBUTE_CONVERTERS
map key for get configuration for attribute converters. The corresoponding value in map is String[].

ANONYMOUS_SUBJECT_NAME

public static final java.lang.String ANONYMOUS_SUBJECT_NAME
map key for get configuration for anonymous subject name.

ACTIVATE_ON_STARTUP

public static final java.lang.String ACTIVATE_ON_STARTUP
map key for get configuration for if activate on startup.

USE_METADIRECTORY

public static final java.lang.String USE_METADIRECTORY
map key for get configuration for if use metadirectory.

METADIRECTORY_TIMEOUT_SECOND

public static final java.lang.String METADIRECTORY_TIMEOUT_SECOND
map key for get configuration for metadirectory timeout seconds.

JDBC_URLS

public static final java.lang.String JDBC_URLS
map key for get configuration for JDBC URLs. The corresoponding value in map is String[].

JDBC_DRIVER

public static final java.lang.String JDBC_DRIVER
map key for get configuration for JDBC Driver.

DB_SYSTEM

public static final java.lang.String DB_SYSTEM
map key for get configuration for database system.

DB_NAME

public static final java.lang.String DB_NAME
map key for get configuration for database name.

DB_LOGIN

public static final java.lang.String DB_LOGIN
map key for get configuration for database login.

DB_PASSWORD

public static final java.lang.String DB_PASSWORD
map key for get configuration for database login password.

DB_POOLSIZE

public static final java.lang.String DB_POOLSIZE
map key for get configuration for db pool size.

DB_CONNECTION_IDLE_TIMEOUT

public static final java.lang.String DB_CONNECTION_IDLE_TIMEOUT
map key for get configuration for db connection idle timeout seconds.

SESSION_EXPIRATION_SECOND

public static final java.lang.String SESSION_EXPIRATION_SECOND
map key for get configuration for session expiration seconds.

SUBJECT_DATA_CACHE_EXPIRATION_SECOND

public static final java.lang.String SUBJECT_DATA_CACHE_EXPIRATION_SECOND
map key for get configuration for data cache expiration seconds.

IGNORE_NON_ASI_ROLES

public static final java.lang.String IGNORE_NON_ASI_ROLES
map key for get configuration for if ignore non ASI roles.

ACCESS_ALLOWED_CACHING

public static final java.lang.String ACCESS_ALLOWED_CACHING
map key for get configuration for if use access allowed cache.

LAZY_ROLE_PROVIDER

public static final java.lang.String LAZY_ROLE_PROVIDER
map key for get configuration for if get roles in lazy mode.

USER_OBSERVER

public static final java.lang.String USER_OBSERVER
map key for get UserObserver object.
Method Detail

init

public void init(java.util.Map config)
initialization function

Parameters:
config: - initialization parameters, which contains all configurations for Authorization provider or Role Mapping provider. The key of this map is defined as final String in this interface. The configuration change in Administration Console may affect the attribute value in this map.

shutdown

public void shutdown()
shutdown function