issrg.pba.management.agent
Interface PAConfiguration

All Known Implementing Classes:
FilePAConfiguration, PAConfigurationBase, TestEgPAConfiguration

public interface PAConfiguration

a class that implements this interface will encapsulate the entire configuration for the PERMIS agent (PAgent class).


Method Summary
 java.lang.String getIdentityStoreInit()
          get the identity key store init method.
 java.io.InputStream getIdentityStoreInputStream()
          get the identity key store input stream.
 char[] getIdentityStorePassword()
          the call back "get" identity password.
 java.lang.String getIdentityStoreProvider()
          get the identity key store provider.
 java.lang.String getIdentityStoreService()
          get the identity key store service (type).
 java.lang.String getPort()
          get the port number the agent will listening on.
 java.lang.String getSSLContextProvider()
          get the SSL context provider.
 java.lang.String getSSLContextService()
          get the SSL context service (type or version).
 java.lang.String getSSLEnabledCipherSuites()
          get the SSL enables cipher suites.
 java.lang.String getSSLEnabledProtocols()
          get the SSL enabled protocols.
 java.lang.String getSSLKeyManagerFactoryProvider()
          get the key manager factory provider.
 java.lang.String getSSLKeyManagerFactoryService()
          get the key manager factory service.
 java.lang.String getSSLSecureRandomNumberProvider()
          get the secure random number provider.
 java.lang.String getSSLSecureRandomNumberService()
          get the secure random number service type.
 java.lang.String getSSLTrustManagerFactoryProvider()
          set the trust manager factory provider.
 java.lang.String getSSLTrustManagerFactoryService()
          get the trust manager factory service.
 java.io.InputStream getTrustStoreInputStream()
          get the trust key store input stream.
 char[] getTrustStorePassword()
          the call back "get" trust password.
 java.lang.String getTrustStoreProvider()
          get the trust key store provider.
 java.lang.String getTrustStoreService()
          get the trust key store service (type).
 void setUsed(boolean used)
          configuration used flag.
 

Method Detail

getIdentityStorePassword

char[] getIdentityStorePassword()
the call back "get" identity password.

Returns:
the identity key store password
Since:
0.1.2008.02.22

getTrustStorePassword

char[] getTrustStorePassword()
the call back "get" trust password.

Returns:
the trust key store password
Since:
0.1.2008.02.22

setUsed

void setUsed(boolean used)
configuration used flag.

setting the used flag to true, it indicates that the configuration has been used, and any further changes to the settings via the modifier methods will have no effect

Note that after PERMIS agent has been created this method is called by the PERMIS agent, and does so even if the creation had failed.

Parameters:
used - - the used flag
Since:
0.1.2008.02.22

getIdentityStoreInputStream

java.io.InputStream getIdentityStoreInputStream()
                                                throws PbaException
get the identity key store input stream.

Returns:
the identity key store input stream.
Throws:
PbaException - if there is a problem opening the input stream
Since:
0.1.2008.01.28

getIdentityStoreService

java.lang.String getIdentityStoreService()
get the identity key store service (type).

Returns:
the identity key store service identifier.
Since:
0.1.2008.01.28

getIdentityStoreProvider

java.lang.String getIdentityStoreProvider()
get the identity key store provider.

Returns:
the identity key store provider identifier.
Since:
0.1.2008.01.28

getIdentityStoreInit

java.lang.String getIdentityStoreInit()
get the identity key store init method. Currently this is not implemented in the PERMIS agent, so currently if the key manager implements the init "parameter" method, PERMIS agent is unable to use it.

Returns:
an indication of which init method is being used.
Since:
0.1.2008.01.28

getTrustStoreInputStream

java.io.InputStream getTrustStoreInputStream()
                                             throws PbaException
get the trust key store input stream.

Returns:
the trust key store input stream.
Throws:
PbaException - if there is a problem opening the input stream.
Since:
0.1.2008.01.23

getTrustStoreService

java.lang.String getTrustStoreService()
get the trust key store service (type).

Returns:
the trust key store service identifier.
Since:
0.1.2008.01.23

getTrustStoreProvider

java.lang.String getTrustStoreProvider()
get the trust key store provider.

Returns:
the trust key store provider identifier.
Since:
0.1.2008.01.23

getSSLKeyManagerFactoryService

java.lang.String getSSLKeyManagerFactoryService()
get the key manager factory service.

Returns:
the key manager factory service identifier.
Since:
0.1.2008.01.25

getSSLKeyManagerFactoryProvider

java.lang.String getSSLKeyManagerFactoryProvider()
get the key manager factory provider.

Returns:
the key manager factory provider identifier.
Since:
0.1.2008.01.25

getSSLTrustManagerFactoryService

java.lang.String getSSLTrustManagerFactoryService()
get the trust manager factory service.

Returns:
the trust manager factory service identifier.
Since:
0.1.2008.01.25

getSSLTrustManagerFactoryProvider

java.lang.String getSSLTrustManagerFactoryProvider()
set the trust manager factory provider.

Returns:
the trust manager factory provider identifier.
Since:
0.1.2008.03.09

getSSLSecureRandomNumberService

java.lang.String getSSLSecureRandomNumberService()
get the secure random number service type.

Returns:
the secure random number service identifier.
Since:
0.1.2008.01.25

getSSLSecureRandomNumberProvider

java.lang.String getSSLSecureRandomNumberProvider()
get the secure random number provider.

Returns:
the secure random number provider identifier.
Since:
0.1.2008.01.25

getSSLContextService

java.lang.String getSSLContextService()
get the SSL context service (type or version).

Returns:
the SSL context service identifier.
Since:
0.1.2008.01.25

getSSLContextProvider

java.lang.String getSSLContextProvider()
get the SSL context provider.

Returns:
the SSL context provider identifier.
Since:
0.1.2008.01.25

getSSLEnabledProtocols

java.lang.String getSSLEnabledProtocols()
get the SSL enabled protocols. separated by spaces.

Returns:
the SSL enabled protocol identifiers.
Since:
0.1.2008.01.28

getSSLEnabledCipherSuites

java.lang.String getSSLEnabledCipherSuites()
get the SSL enables cipher suites. separated by spaces.

Returns:
the SSL enabled cipher suite identifiers.
Since:
0.1.2008.01.28

getPort

java.lang.String getPort()
get the port number the agent will listening on.

Returns:
the port number this agent is listening on
Since:
0.1.2008.01.26