|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomDBMSAuthenticatorPlugin
Method Summary | |
---|---|
void |
initialize(ProviderMBean mBean)
Executed on initialization of the CustomDBMSAuthenticatorPlugin. |
String |
lookupPassword(Connection connection,
String user)
Called during authentication process to retrieve password for user. |
String[] |
lookupUserGroups(Connection connection,
String user)
Called during authentication and identity assertion to determine the users group membership. |
void |
shutdown()
Executed on shutdown of the authentication provider, or if the plugin is replaced dynamically at runtime with another implementation class. |
boolean |
userExists(Connection connection,
String user)
Called during Identity Assertion to verify existence of user. |
Method Detail |
---|
void initialize(ProviderMBean mBean)
mBean
- providerMBean for provider using the pluginvoid shutdown()
String lookupPassword(Connection connection, String user) throws SQLException
connection
- JDBC connectionuser
- String representing the username
SQLException
- if a database access error occursboolean userExists(Connection connection, String user) throws SQLException
connection
- JDBC connectionuser
- String representing the username
True
if user exists,
false
if not
SQLException
- if a database access error occursString[] lookupUserGroups(Connection connection, String user) throws SQLException
connection
- connection to the databaseuser
- String representing the username
null
for no groups
SQLException
- if a database access error occurs
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, 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. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |