org.objectweb.jonas.security.realm.factory
Interface JResourceDSMBean

All Superinterfaces:
JResourceMBean
All Known Implementing Classes:
JResourceDS

public interface JResourceDSMBean
extends JResourceMBean

Define the methods for the MBean

Author:
Florent Benoit

Method Summary
 void clearCache()
          Clear the cache
 java.lang.String getAlgorithm()
          Get the default algorithm
 java.lang.String getDsName()
          Get the name of the resource to use
 java.lang.String getRoleTable()
          Get the name of table which have the username/role
 java.lang.String getRoleTableRolenameCol()
          Get the name of the column of the role of the role table
 java.lang.String getRoleTableUsernameCol()
          Get the name of the column of the username of the role table
 java.lang.String getUserTable()
          Get the name of the table which have the username/password
 java.lang.String getUserTablePasswordCol()
          Get the name of column of the password of the user table
 java.lang.String getUserTableUsernameCol()
          Get the name of the column of the username of the user table
 void setAlgorithm(java.lang.String algorithm)
          Set the default algorithm to use
 void setDsName(java.lang.String dsName)
          Set the name of the resource to use
 void setRoleTable(java.lang.String roleTable)
          Set the name of table which have the username/role
 void setRoleTableRolenameCol(java.lang.String roleTableRolenameCol)
          Set the name of the column of the role of the role table
 void setRoleTableUsernameCol(java.lang.String roleTableUsernameCol)
          Set the name of the column of the username of the role table
 void setUserTable(java.lang.String userTable)
          Set the name of the table which have the username/password
 void setUserTablePasswordCol(java.lang.String userTablePasswordCol)
          Set the name of column of the password of the user table
 void setUserTableUsernameCol(java.lang.String userTableUsernameCol)
          Set the name of the column of the username of the user table
 
Methods inherited from interface org.objectweb.jonas.security.realm.factory.JResourceMBean
getName, saveConfig
 

Method Detail

clearCache

void clearCache()
Clear the cache


setDsName

void setDsName(java.lang.String dsName)
Set the name of the resource to use

Parameters:
dsName - name of the resource

setUserTable

void setUserTable(java.lang.String userTable)
Set the name of the table which have the username/password

Parameters:
userTable - name of the table which have the username/password

setUserTableUsernameCol

void setUserTableUsernameCol(java.lang.String userTableUsernameCol)
Set the name of the column of the username of the user table

Parameters:
userTableUsernameCol - name of the column of the username of the user table

setUserTablePasswordCol

void setUserTablePasswordCol(java.lang.String userTablePasswordCol)
Set the name of column of the password of the user table

Parameters:
userTablePasswordCol - name of column of the password of the user table

setRoleTable

void setRoleTable(java.lang.String roleTable)
Set the name of table which have the username/role

Parameters:
roleTable - name of table which have the username/role

setRoleTableUsernameCol

void setRoleTableUsernameCol(java.lang.String roleTableUsernameCol)
Set the name of the column of the username of the role table

Parameters:
roleTableUsernameCol - name of the column of the username of the role table

setRoleTableRolenameCol

void setRoleTableRolenameCol(java.lang.String roleTableRolenameCol)
Set the name of the column of the role of the role table

Parameters:
roleTableRolenameCol - name of the column of the role of the role table

setAlgorithm

void setAlgorithm(java.lang.String algorithm)
Set the default algorithm to use

Parameters:
algorithm - algorithm to be used

getDsName

java.lang.String getDsName()
Get the name of the resource to use

Returns:
name of the resource

getUserTable

java.lang.String getUserTable()
Get the name of the table which have the username/password

Returns:
name of the table which have the username/password

getUserTableUsernameCol

java.lang.String getUserTableUsernameCol()
Get the name of the column of the username of the user table

Returns:
name of the column of the username of the user table

getUserTablePasswordCol

java.lang.String getUserTablePasswordCol()
Get the name of column of the password of the user table

Returns:
name of column of the password of the user table

getRoleTable

java.lang.String getRoleTable()
Get the name of table which have the username/role

Returns:
name of table which have the username/role

getRoleTableUsernameCol

java.lang.String getRoleTableUsernameCol()
Get the name of the column of the username of the role table

Returns:
name of the column of the username of the role table

getRoleTableRolenameCol

java.lang.String getRoleTableRolenameCol()
Get the name of the column of the role of the role table

Returns:
name of the column of the role of the role table

getAlgorithm

java.lang.String getAlgorithm()
Get the default algorithm

Returns:
the default algorithm