|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void initialize(ProviderMBean mBean)
mBean
- providerMBean for provider using the pluginpublic String lookupPassword(Connection connection, String user) throws SQLException
connection
- JDBC connectionuser
- String representing the username
SQLException
- if a database access error occurspublic String[] 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 occurspublic void shutdown()
public boolean 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 occurs
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |