|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface to manage authorization plug-ins for extensible authorization.
QueryFilterPlugin, ResultFilterPlugin, IdentityPlugin| Field Summary | |
static String |
VERSION |
| Method Summary | |
boolean |
areAttributesSufficient(SecurityAttributeInfo[] attributes)Returns true if this authorization plug-in supports all of the security attributes exposed by the crawler plug-in, and if these are sufficient to determine authorization. |
String |
getBaseAPIVersion()Returns the version string of the plug-in API. |
String |
getPluginDescription()Returns the description of the authorization manager plug-in. |
String |
getPluginName()Returns the name of the authorization manager plug-in. |
List |
getPluginParameters()Returns the parameters for the authorization manager plug-in. |
String |
getPluginVersion()Returns the version string of the authorization manager plug-in. |
QueryFilterPlugin |
getQueryFilterPlugin(String username, ServletRequest req)Returns an instance of QueryFilterPlugin. |
ResultFilterPlugin |
getResultFilterPlugin()Returns an instance of ResultFilterPlugin. |
void |
init(ParameterValues params, IdentityPluginManager identityPluginManager, Logger logger)Initializes the authorization manager plug-in with parameter values provided in the admin UI. |
boolean |
isQueryFilterAvailable()Returns true if this manager provides a QueryFilterPlugin. |
boolean |
isResultFilterAvailable()Returns true if this manager provides a ResultFilterPlugin. |
boolean |
validateParams(ParameterValues params)Validates the parameter values that will later be used by the admin, crawler, or query to call init. |
| Field Detail |
public static final String VERSION
| Method Detail |
public String getBaseAPIVersion()
public String getPluginName()
public String getPluginDescription()
public String getPluginVersion()
public List getPluginParameters()
public boolean validateParams(ParameterValues params)
throws PluginException
init.params - the parameter valuesPluginException - if an error occurs
public void init(ParameterValues params,
IdentityPluginManager identityPluginManager,
Logger logger)
throws PluginException
params - the parameter valuesidentityPluginManager - an active identity plug-in managerlogger - logger interfacePluginException - if an error occurspublic boolean isQueryFilterAvailable()
public boolean isResultFilterAvailable()
public boolean areAttributesSufficient(SecurityAttributeInfo[] attributes)
attributes - the security attributes
public QueryFilterPlugin getQueryFilterPlugin(String username,
ServletRequest req)
QueryFilterPlugin.username - the usernamereq - the servlet requestpublic ResultFilterPlugin getResultFilterPlugin()
ResultFilterPlugin.
|
Oracle Secure Enterprise Search Java API Reference 10g Release 1 (10.1.8) B32260-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||