|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdentityPluginManager
An interface for a manager of identity-based security.
IdentityPlugin
Field Summary | |
---|---|
static String |
VERSION |
Method Summary | |
---|---|
String |
getBaseAPIVersion() Returns the version string of the plug-in API. |
String |
getCanonicalAttribute() Returns the name of the attribute that is stored in the index and returned by the methods in the IdentityPlugin interface. |
IdentityPlugin |
getIdentityPlugin() Returns an instance of IdentityPlugin associated with this IdentityPluginManager . |
String |
getPluginDescription() Returns the description of the identity plug-in manager. |
String |
getPluginName() Returns the name of the identity plug-in manager. |
List |
getPluginParameters() Returns a list of parameter objects for the identity plug-in manager. |
String |
getPluginVersion() Returns the version string of the identity plug-in manager. |
String[] |
getSupportedAuthenticationAttributes() Returns the names of the attributes that are supported for authentication. |
void |
init(ParameterValues params, String authenAttr, Logger logger) Initializes the identity plug-in manager with parameter values provided in the administration tool. |
void |
setLocale(Locale locale) Sets the locale to be used for this plug-in manager and all the plug-ins created by it. |
boolean |
validateParams(ParameterValues params, String authenAttr) Validates the parameter values that will later be used by the administration tool, crawler, or query application to call init . |
Field Detail |
---|
static final String VERSION
Method Detail |
---|
void setLocale(Locale locale)
locale
- the LocaleString getBaseAPIVersion()
IdentityPluginManager.VERSION
.String getPluginName()
String getPluginDescription()
setLocale
.String getPluginVersion()
List getPluginParameters()
init
.ParameterInfo
objectsString getCanonicalAttribute()
IdentityPlugin
interface. This should be hard-coded by the plug-in.String[] getSupportedAuthenticationAttributes()
boolean validateParams(ParameterValues params, String authenAttr) throws PluginException
init
. This method is called when the plug-in is activated in the administration tool.params
- the parameter valuesauthenAttr
- the name of the authentication attribute that was selected by the administrator. This is used to authenticate users at login time.true
if the parameters and authentication attribute are valid, false
otherwisePluginException
- if an error occursvoid init(ParameterValues params, String authenAttr, Logger logger) throws PluginException
This method will only be called with parameters which have been approved by a prior call to validateParams
. However, the prior call to validateParams
may have been made on a different object (of this class).
Note: This method may not be called on every instance of this interface, and it is only guaranteed to be invoked before a call to getIdentityPlugin
. As a result, the Logger
object may not always be available.
params
- the parameter valuesauthenAttr
- the name of the authentication attribute that was selected by the administrator. This is used to authenticate users at login time.logger
- logger objectPluginException
- if an error occursIdentityPlugin getIdentityPlugin() throws PluginException
IdentityPlugin
associated with this IdentityPluginManager
. As a precondition, this object will have been initialized with a call to init
.IdentityPlugin
PluginException
- if an error occurs
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |