|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aselect.server.udb.flatfile.FlatFileConnector
public class FlatFileConnector
FlatFile database connector.
Description:
Database connector that uses the file 'workingdir/conf/udb/flatfile_udb.conf'
as physical storage.
Concurrency issues:
-
| Constructor Summary | |
|---|---|
FlatFileConnector()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getUserAttributes(java.lang.String sUserId,
java.lang.String sAuthSPId)
Retrieve the A-Select user attributes. |
java.util.Hashtable |
getUserProfile(java.lang.String sUserId)
Returns a hashtable with the user's record. |
void |
init(java.lang.Object oConfigSection)
Initializes managers and loads the A-Select user db flatfile into a Properties object. |
boolean |
isUserEnabled(java.lang.String sUserId)
Check if user is A-Select enabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlatFileConnector()
| Method Detail |
|---|
public void init(java.lang.Object oConfigSection)
throws ASelectUDBException
Properties object.
init in interface IUDBConnectoroConfigSection - containing the configuration section for this
component
ASelectUDBException - if the component could not be initialized by
missing config parameters or could not open a connectionIUDBConnector.init(java.lang.Object)public java.util.Hashtable getUserProfile(java.lang.String sUserId)
result_code and
user_authsps which is a hashtable containing the AuthSP's that the user is registered for.
Within this hashtable each AuthSP has an entry with the value of the
user attributes that specific AuthSP.
getUserProfile in interface IUDBConnectorsUserId - containing the user id by which the user is known in the
user database
Hashtable containing the user information (authsp
information and result code)IUDBConnector.getUserProfile(java.lang.String)public boolean isUserEnabled(java.lang.String sUserId)
isUserEnabled in interface IUDBConnectorsUserId - the user to check.
true if user is A-Select enabled,
otherwise false.IUDBConnector.isUserEnabled(java.lang.String)
public java.lang.String getUserAttributes(java.lang.String sUserId,
java.lang.String sAuthSPId)
getUserAttributes in interface IUDBConnectorsUserId - The user ID.sAuthSPId - The AuthSP ID
IUDBConnector.getUserAttributes(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||