|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.core.settings.AdministratorSettings
public class AdministratorSettings
Class managing Administrator specific settings of the hardtoken mangagement system If the property isn't found in the current administrator setting the corresponding global values will be used instead.
| Field Summary | |
|---|---|
static java.lang.String |
LOGON_TRUSTEDCACERT
|
| Constructor Summary | |
|---|---|
AdministratorSettings()
|
|
| Method Summary | |
|---|---|
java.security.cert.X509Certificate |
getAdminCert()
Method that return the certificate of the current loged in administrator. |
java.lang.String |
getProperty(java.lang.String resource)
Retrieves the settings connected to the given resource. |
java.lang.String |
getProperty(java.lang.String resource,
java.lang.String defaultValue)
Retrieves the settings connected to the given resource. |
void |
reload()
Method that reloads the administrator settings |
void |
setAdminCert(java.security.cert.X509Certificate adminCert)
Method that sets the admin certificate used by the webpage displaying the applet. |
void |
setProperty(java.lang.String resource,
java.lang.String value)
Sets the administrator setting and saves it to file in the administrators home directory |
| 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 LOGON_TRUSTEDCACERT
| Constructor Detail |
|---|
public AdministratorSettings()
| Method Detail |
|---|
public void reload()
public java.security.cert.X509Certificate getAdminCert()
public void setAdminCert(java.security.cert.X509Certificate adminCert)
public void setProperty(java.lang.String resource,
java.lang.String value)
resource - one of the defined constantsvalue - public java.lang.String getProperty(java.lang.String resource)
public java.lang.String getProperty(java.lang.String resource,
java.lang.String defaultValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||