authenticate(String username, String credentials) Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null.
If there are any errors with the JDBC connection, executing
the query or anything we return null (don't authenticate).
Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null.
If there are any errors with the JDBC connection, executing
the query or anything we return null (don't authenticate). This
event is also logged, and the connection will be closed so that
a subsequent request will automatically re-open it.
Parameters: username - Username of the Principal to look up Parameters: credentials - Password or other credentials to use inauthenticating this username
Create an ObjectName for this
ContextResource object.
Parameters: resource - The resource ObjectName The object name exception: MalformedObjectNameException - if a name cannot be created
Returns the name of the table that contains relationships
between users and roles.
name of the table that contains relationshipsbetween users and roles.
Release our use of this connection so that it can be recycled.
Parameters: dbConnection - The connection to be released
setConfigurationFilePath
public void setConfigurationFilePath(String configurationFilePath)(Code)
Sets path to configuration file for DODS.
Parameters: configurationFilePath - path to configuration file for DODS.
setCredColUserTableName
public void setCredColUserTableName(String credColUserTableName)(Code)
Sets the name of the credential colum in user table.
Parameters: credColUserTableName - name of the credential colum in user table.
setLocalDataSource
public void setLocalDataSource(boolean localDataSource)(Code)
Set to true to cause the datasource to be looked up in the webapp JNDI
Context.
Parameters: localDataSource - the new flag value
setRoleColRoleTableName
public void setRoleColRoleTableName(String roleColRoleTableName)(Code)
Sets the name of the role colum in role table.
Parameters: roleColRoleTableName - name of the role colum in role table.
setRoleColUserRoleTableName
public void setRoleColUserRoleTableName(String roleColUserRoleTableName)(Code)
Sets the name of the role colum in user-role table.
Parameters: roleColUserRoleTableName - name of the role colum in user-role table.
setRoleTableName
public void setRoleTableName(String roleTableName)(Code)
Sets the name of the table that contains roles.
Parameters: roleTableName - name of the table that contains roles.
setUserColUserRoleTableName
public void setUserColUserRoleTableName(String userColUserRoleTableName)(Code)
Sets the name of the user colum in user-role table.
Parameters: userColUserRoleTableName - name of the user colum in user-role table.
setUserColUserTableName
public void setUserColUserTableName(String userColUserTableName)(Code)
Sets the name of the user colum in user table.
Parameters: userColUserTableName - name of the user colum in user table.
setUserRoleTableName
public void setUserRoleTableName(String userRoleTableName)(Code)
Sets the name of the table that contains relationships
between users and roles.
Parameters: userRoleTableName - name of the table that contains relationships between users and roles.
setUserTableName
public void setUserTableName(String userTableName)(Code)
Sets the name of the table that contains users and credentials.
Parameters: userTableName - name of the table that contains users and credentials
start
public void start() throws LifecycleException(Code)
Prepare for active use of the public methods of this Component.
exception: LifecycleException - if this component detects a fatal errorthat prevents it from being started
stop
public void stop() throws LifecycleException(Code)
Gracefully shut down active use of the public methods of this Component.
exception: LifecycleException - if this component detects a fatal errorthat needs to be reported