|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.management.agent.PAConfigurationBase issrg.pba.management.agent.keyStoreSource.FilePAConfiguration
public class FilePAConfiguration
This class extends the PERMIS agent configuration and adds the aspects that relate to the key stores existing in a file on the local file store.
This class would need to be replaced if the key stores where to exist on any other form such as a secure tamper proof smart card
Constructor Summary | |
---|---|
FilePAConfiguration()
construct a PERMIS agent configuration set. |
|
FilePAConfiguration(int port)
construct a PERMIS agent configuration set. |
Method Summary | |
---|---|
java.io.InputStream |
getIdentityStoreInputStream()
get the identity key store input stream. |
char[] |
getIdentityStorePassword()
the call back "get" identity password. |
java.io.InputStream |
getTrustStoreInputStream()
get the trust key store input stream. |
char[] |
getTrustStorePassword()
the call back "get" trust password. |
void |
setIdentityStoreName(java.lang.String value)
set the identity key store name. |
void |
setIdentityStorePassword(char[] password)
set the identity password. |
void |
setTrustStoreName(java.lang.String value)
set the trust key store name. |
void |
setTrustStorePassword(char[] password)
set the trust password. |
void |
setUsed(boolean usedParam)
called when settings have been used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilePAConfiguration()
public FilePAConfiguration(int port) throws PbaException
port
- number that the PERMIS agent will listen on.
PbaException
- if the port number is out of range.Method Detail |
---|
public void setIdentityStorePassword(char[] password)
password
- the char array containing the passwordpublic char[] getIdentityStorePassword()
Note that after PERMIS agent calls this method and used the password, the password is cleared.
public void setTrustStorePassword(char[] password)
password
- -
the char array containing the passwordpublic char[] getTrustStorePassword()
Note that after PERMIS agent calls this method and used the password, the password is cleared.
public void setUsed(boolean usedParam)
setUsed
in interface PAConfiguration
setUsed
in class PAConfigurationBase
usedParam
- -
flag configuration used flagpublic void setIdentityStoreName(java.lang.String value) throws PbaException
value
- the identity key store file name
PbaException
- if the configuration has already been usedpublic java.io.InputStream getIdentityStoreInputStream() throws PbaException
PbaException
- if the file name can not be found.public void setTrustStoreName(java.lang.String value) throws PbaException
value
- the trust key store file name
PbaException
- if the configuration has already been usedpublic java.io.InputStream getTrustStoreInputStream() throws PbaException
PbaException
- if the trust key store file can not be found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |