com.ibm.dse.applsrv.aa
Interface SecurityPersistence

All Known Implementing Classes:
SecurityJDBCPersistence, SecurityJDBCPersistence2, SecurityTextPersistence, SimpleSecurityPersistence

public interface SecurityPersistence

This is the interface specification for the persistence of security objects.


Method Summary
 java.lang.String database()
          Return the name of this database.
 void initialize(Dictionary options)
          Initialize the persistor with the specified set of options.
 java.io.Serializable load()
          Return a serializable object representing the current state of the persistent database.
 void save(java.io.Serializable database)
          Replace the persistent database with the in-memory copy.
 void shutdown()
          Shutdown the database.
 

Method Detail

database

public java.lang.String database()
Return the name of this database.
Returns:
String - the name of this database.

initialize

public void initialize(Dictionary options)
                throws DSESecurityException
Initialize the persistor with the specified set of options.
Parameters:
options - Dictionary - the in-memory database.
Throws:
DSESecurityException - - database error.

load

public java.io.Serializable load()
                          throws DSESecurityException
Return a serializable object representing the current state of the persistent database.
Returns:
Serializable - the copy of the persistent database.
Throws:
DSESecurityException - - database error.

save

public void save(java.io.Serializable database)
          throws DSESecurityException
Replace the persistent database with the in-memory copy.
Parameters:
database - Serializable - the in-memory database.
Throws:
DSESecurityException - - database error.

shutdown

public void shutdown()
              throws DSESecurityException
Shutdown the database.
Throws:
DSESecurityException - - database error.