|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.management.manager.PMConfiguration issrg.pba.management.manager.keyStoreSource.FilePMConfiguration
public class FilePMConfiguration
This class is a PMConfiguration that stores its key stores in files on the local file store.
The associated model class is FilePManagement.
It adds two properties, the NAME_IDENTITY_STORE_NAME and the NAME_TRUST_STORE_NAME to the properties Map.
And of course it implements the two input stream methods getIdentityStoreInputStream () and getTrustStoreInputStream ()
Constructor Summary | |
---|---|
FilePMConfiguration()
|
Method Summary | |
---|---|
protected java.io.InputStream |
getIdentityStoreInputStream()
get the identity key store input stream. |
protected java.io.InputStream |
getTrustStoreInputStream()
get the trust key store input stream. |
protected void |
load(java.util.Map<java.lang.String,java.lang.String> arguments)
load in the PERMIS management configuration. |
Methods inherited from class issrg.pba.management.manager.PMConfiguration |
---|
getProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilePMConfiguration()
Method Detail |
---|
protected void load(java.util.Map<java.lang.String,java.lang.String> arguments) throws PMException
first this method calls the overwritten method.
then this method checks the command line arguments for key store file names.
load
in class PMConfiguration
arguments
- a string of command line arguments that override the
settings in the management configuration file
PMException
- If loading form the XML file fails
in the overridden load methodprotected java.io.InputStream getIdentityStoreInputStream() throws PMException
getIdentityStoreInputStream
in class PMConfiguration
PMException
- if there is a problem accessing the fileprotected java.io.InputStream getTrustStoreInputStream() throws PMException
getTrustStoreInputStream
in class PMConfiguration
PMException
- if there is a problem accessing the file
that contains the trust key store
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |