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

public void clearCache()
Clear the cache


setDsName

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

Parameters:
dsName - name of the resource

setUserTable

public 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

public 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

public 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

public 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

public 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

public 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

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

Parameters:
algorithm - algorithm to be used

getDsName

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

Returns:
name of the resource

getUserTable

public 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

public 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

public 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

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

Returns:
name of table which have the username/role

getRoleTableUsernameCol

public 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

public 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

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

Returns:
the default algorithm