org.ow2.jonas.security.internal.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
 String getAlgorithm()
          Get the default algorithm
 String getDsName()
          Get the name of the resource to use
 String getRoleTable()
          Get the name of table which have the username/role
 String getRoleTableRolenameCol()
          Get the name of the column of the role of the role table
 String getRoleTableUsernameCol()
          Get the name of the column of the username of the role table
 String getUserTable()
          Get the name of the table which have the username/password
 String getUserTablePasswordCol()
          Get the name of column of the password of the user table
 String getUserTableUsernameCol()
          Get the name of the column of the username of the user table
 void setAlgorithm(String algorithm)
          Set the default algorithm to use
 void setDsName(String dsName)
          Set the name of the resource to use
 void setRoleTable(String roleTable)
          Set the name of table which have the username/role
 void setRoleTableRolenameCol(String roleTableRolenameCol)
          Set the name of the column of the role of the role table
 void setRoleTableUsernameCol(String roleTableUsernameCol)
          Set the name of the column of the username of the role table
 void setUserTable(String userTable)
          Set the name of the table which have the username/password
 void setUserTablePasswordCol(String userTablePasswordCol)
          Set the name of column of the password of the user table
 void setUserTableUsernameCol(String userTableUsernameCol)
          Set the name of the column of the username of the user table
 
Methods inherited from interface org.ow2.jonas.security.internal.realm.factory.JResourceMBean
getName, saveConfig
 

Method Detail

clearCache

void clearCache()
Clear the cache


setDsName

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

Parameters:
dsName - name of the resource

setUserTable

void setUserTable(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(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(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(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(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(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(String algorithm)
Set the default algorithm to use

Parameters:
algorithm - algorithm to be used

getDsName

String getDsName()
Get the name of the resource to use

Returns:
name of the resource

getUserTable

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

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

getUserTableUsernameCol

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

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

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

Returns:
name of table which have the username/role

getRoleTableUsernameCol

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

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

String getAlgorithm()
Get the default algorithm

Returns:
the default algorithm


Copyright © 2010 OW2 Consortium. All Rights Reserved.