|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.applsrv.aa.SecurityObject | +--com.ibm.dse.applsrv.aa.SecurityConfiguration
This class represents the system configuration for security.
Field Summary | |
static java.lang.String |
C_AUDIT
|
static java.lang.String |
C_AUDIT_FILE
|
static java.lang.String |
C_CFG_DB
|
static java.lang.String |
C_CFG_PERSIST
|
static java.lang.String |
C_CTX_DB
|
static java.lang.String |
C_CTXT_PERSIST
|
static java.lang.String |
C_GRP_DB
|
static java.lang.String |
C_GRP_PERSIST
|
static java.lang.String |
C_LOGON_1
|
static java.lang.String |
C_PWD_ACC
|
static java.lang.String |
C_RGT_DB
|
static java.lang.String |
C_RI_PERSIST
|
static java.lang.String |
C_RO_PERSIST
|
static java.lang.String |
C_ROL_DB
|
static java.lang.String |
C_SRV_DB
|
static java.lang.String |
C_SRV_PERSIST
|
static java.lang.String |
C_SYS_RO
|
static java.lang.String |
C_USR_DB
|
static java.lang.String |
C_USR_PERSIST
|
Fields inherited from class com.ibm.dse.applsrv.aa.SecurityObject |
fs |
Constructor Summary | |
SecurityConfiguration()
|
Method Summary | |
protected void |
_save()
A hack to force inheritence of a static method. |
static void |
controller(SecurityController ctrl)
Set the security controller. |
protected static boolean |
disablePersist()
Disable persistence for system configuration. |
protected static void |
forceSave()
Force a save of the current state of the system configurations to the database. |
protected static Dictionary |
getConfiguration()
Return a dictionary of the current state of the system configurations. |
protected static java.lang.String |
getPathName()
Return the pathname of this database of system configurations. |
protected static boolean |
getPersist()
Return the persistence state for system configurations. |
protected static java.lang.String[] |
getSystemRoles()
Return the names of the system-wide roles. |
static boolean |
getUniqueLogons()
Return the unique logon control flag. |
protected static void |
load()
Load the current state of the system configurations from the database. |
protected static Dictionary |
loadr()
Load and return the current state of the system configurations from the database. |
protected static void |
reset()
Reset the system configurations. |
protected static void |
save()
Save the current state of the system configurations to the database. |
protected static void |
setAuditFile(java.lang.String fileName)
Set the pathname of the audit file. |
protected static void |
setConfiguration(Dictionary config)
Set the specified system configurations to the specified values. |
protected static void |
setDB(SecurityPersistence securityPersistence)
Set the persistence controller for this class. |
protected static void |
setPersist(boolean persistence)
Enable or disable persistence for system configurations. |
protected static void |
setSystemRoles(java.lang.String[] roles)
Set the names of the system-wide roles. |
static void |
setUniqueLogons(boolean unique)
Enable or disable unique logons by users. |
protected static void |
shutdown()
Shutdown the security component. |
protected static void |
verifyAll()
Verify the consistancy of this database. |
Methods inherited from class com.ibm.dse.applsrv.aa.SecurityObject |
getData,
getData,
getDataOrNull,
getName,
home,
prefix,
putData,
putData,
setName |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String C_AUDIT
public static final java.lang.String C_CFG_PERSIST
public static final java.lang.String C_CTXT_PERSIST
public static final java.lang.String C_GRP_PERSIST
public static final java.lang.String C_PWD_ACC
public static final java.lang.String C_RI_PERSIST
public static final java.lang.String C_RO_PERSIST
public static final java.lang.String C_SRV_PERSIST
public static final java.lang.String C_SYS_RO
public static final java.lang.String C_LOGON_1
public static final java.lang.String C_USR_PERSIST
public static final java.lang.String C_CFG_DB
public static final java.lang.String C_CTX_DB
public static final java.lang.String C_GRP_DB
public static final java.lang.String C_RGT_DB
public static final java.lang.String C_ROL_DB
public static final java.lang.String C_SRV_DB
public static final java.lang.String C_USR_DB
public static final java.lang.String C_AUDIT_FILE
Constructor Detail |
public SecurityConfiguration()
Method Detail |
protected void _save() throws DSESecurityException
public static void controller(SecurityController ctrl)
ctrl
- SecurityController - the security controller.protected static boolean disablePersist()
protected static void forceSave() throws DSESecurityException
protected static Dictionary getConfiguration() throws DSESecurityException
protected static java.lang.String getPathName()
protected static boolean getPersist()
protected static java.lang.String[] getSystemRoles()
public static boolean getUniqueLogons()
protected static void load() throws DSESecurityException
protected static Dictionary loadr() throws DSESecurityException
protected static void reset() throws DSESecurityException
protected static void save() throws DSESecurityException
protected static void setAuditFile(java.lang.String fileName)
fileName
- String - the pathname of the audit file.protected static void setConfiguration(Dictionary config) throws DSESecurityException
config
- Dictionary - dictionary of system configurations to be set.protected static void setDB(SecurityPersistence securityPersistence)
securityPersistence
- SecurityPersistence - the persistence controller.protected static void setPersist(boolean persistence)
persistence
- boolean - true to enable persistence, false to disable it.protected static void setSystemRoles(java.lang.String[] roles) throws DSESecurityException
roles
- String[] - the names of the system-wide roles.public static void setUniqueLogons(boolean unique) throws DSESecurityException
unique
- boolean - true to enable unique logons, false to disable it.protected static void shutdown() throws DSESecurityException
protected static void verifyAll() throws DSESecurityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |