com.ibm.dse.applsrv.aa
Class SecurityTextPersistence
java.lang.Object
|
+--com.ibm.dse.applsrv.aa.SecurityTextPersistence
- public class SecurityTextPersistence
- extends java.lang.Object
- implements SecurityPersistence
This class represents a text file persistence controller for the security objects.
Method Summary |
java.lang.String |
database()
Return the name of this database. |
void |
initialize(Dictionary config)
Initialize the persistor with the specified set of options. |
java.io.Serializable |
load()
Return an object representing the current state of the persistent database. |
void |
save(java.io.Serializable db)
Replace the persistent database with the in-memory copy. |
void |
shutdown()
Shutdown this database. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
USERS
public static final int USERS
- The following constants defined the types of persistence defined by this class.
CONTEXTS
public static final int CONTEXTS
RIGHTS
public static final int RIGHTS
ROLES
public static final int ROLES
SERVICES
public static final int SERVICES
GROUPS
public static final int GROUPS
CONFIGURATION
public static final int CONFIGURATION
SecurityTextPersistence
public SecurityTextPersistence()
- Create a new instance of this persistence controller.
database
public java.lang.String database()
- Return the name of this database.
- Specified by:
- database in interface SecurityPersistence
- Returns:
- String - the name of this database.
initialize
public void initialize(Dictionary config)
throws DSESecurityException
- Initialize the persistor with the specified set of options.
- Specified by:
- initialize in interface SecurityPersistence
- Parameters:
config
- Dictionary - the configuration options.- Throws:
- DSESecurityException - - database error.
load
public java.io.Serializable load()
throws DSESecurityException
- Return an object representing the current state of the persistent database.
- Specified by:
- load in interface SecurityPersistence
- Returns:
- Serializable - the copy of the persistent database.
- Throws:
- DSESecurityException - - database error.
save
public void save(java.io.Serializable db)
throws DSESecurityException
- Replace the persistent database with the in-memory copy.
- Specified by:
- save in interface SecurityPersistence
- Parameters:
db
- Serializable - the in-memory database. [not used by this implementation]- Throws:
- DSESecurityException - - database error.
shutdown
public void shutdown()
- Shutdown this database.
- Specified by:
- shutdown in interface SecurityPersistence
- Tags copied from interface: SecurityPersistence
- Throws:
- DSESecurityException - - database error.