|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.management.agent.PAConfigurationBase
public abstract class PAConfigurationBase
PERMIS Agent configuration class.
an instance of this class will encapsulate the entire configuration for the PERMIS agent (PAgent class).
the configuration consists entirely of SSL related settings used in the SSL configuration of the PERMIS Agent generic connector JMXMP connector-server.
the settings are held in a java.util.Properties object
Constructor Summary | |
---|---|
PAConfigurationBase()
construct a PERMIS agent configuration set. |
|
PAConfigurationBase(int port)
construct a PERMIS agent configuration set. |
Method Summary | |
---|---|
protected static java.lang.String |
getChangeConfigErrorMsg()
Get the standard error message used when the configuration has been used to create the JMX Server in the PERMIS Agent. |
java.lang.String |
getIdentityStoreInit()
get the identity key store init method. |
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. |
java.lang.String |
getSSLTrustManagerFactoryProvider()
get the trust manager factory provider. |
java.lang.String |
getSSLTrustManagerFactoryService()
get the trust manager factory service. |
java.lang.String |
getTrustStoreProvider()
get the trust key store provider. |
java.lang.String |
getTrustStoreService()
get the trust key store service (type). |
boolean |
isUsed()
get the configuration used flag. |
void |
setIdentityStoreProvider(java.lang.String value)
set the identity key store provider. |
void |
setIdentityStoreService(java.lang.String value)
set the identity key store service (type). |
void |
setPort(int port)
set the port number this agent is listening on. |
void |
setSSLContextProvider(java.lang.String value)
set the SSL context provider. |
void |
setSSLContextService(java.lang.String value)
set the SSL context service (type or version). |
void |
setSSLEnabledCipherSuites(java.lang.String value)
set the SSL enables cipher suites. |
void |
setSSLEnabledProtocols(java.lang.String value)
set the SSL enabled protocols. |
void |
setSSLKeyManagerFactoryProvider(java.lang.String value)
set the key manager factory provider. |
void |
setSSLKeyManagerFactoryService(java.lang.String value)
set the key manager factory service. |
void |
setSSLSecureRandomNumberProvider(java.lang.String value)
set the secure random number provider. |
void |
setSSLSecureRandomNumberService(java.lang.String value)
set the secure random number service. |
void |
setSSLTrustManagerFactoryProvider(java.lang.String value)
set the trust manager factory provider. |
void |
setSSLTrustManagerFactoryService(java.lang.String value)
set the trust manager factory service. |
void |
setTrustStoreProvider(java.lang.String value)
set the trust key store provider. |
void |
setTrustStoreService(java.lang.String value)
set the trust key store service (type). |
void |
setUsed(boolean usedParam)
configuration used flag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface issrg.pba.management.agent.PAConfiguration |
---|
getIdentityStoreInputStream, getIdentityStorePassword, getTrustStoreInputStream, getTrustStorePassword |
Constructor Detail |
---|
public PAConfigurationBase()
public PAConfigurationBase(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 setUsed(boolean usedParam)
setUsed
in interface PAConfiguration
usedParam
- flag indicating "used configuration" or not.public final boolean isUsed()
public final void setIdentityStoreService(java.lang.String value) throws PbaException
value
- identity key store service identifier.
PbaException
- if the configuration has already been usedpublic java.lang.String getIdentityStoreService()
getIdentityStoreService
in interface PAConfiguration
public void setIdentityStoreProvider(java.lang.String value) throws PbaException
value
- the identity key store service identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getIdentityStoreProvider()
getIdentityStoreProvider
in interface PAConfiguration
public java.lang.String getIdentityStoreInit()
getIdentityStoreInit
in interface PAConfiguration
public void setTrustStoreService(java.lang.String value) throws PbaException
value
- the trust key store service identifier.
PbaException
- if the configuration has already been usedpublic java.lang.String getTrustStoreService()
getTrustStoreService
in interface PAConfiguration
public void setTrustStoreProvider(java.lang.String value) throws PbaException
value
- the trust key store provider identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getTrustStoreProvider()
getTrustStoreProvider
in interface PAConfiguration
public void setSSLKeyManagerFactoryService(java.lang.String value) throws PbaException
value
- the key manager factory service identifier.
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLKeyManagerFactoryService()
getSSLKeyManagerFactoryService
in interface PAConfiguration
public void setSSLKeyManagerFactoryProvider(java.lang.String value) throws PbaException
value
- the key manager factory provider identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLKeyManagerFactoryProvider()
getSSLKeyManagerFactoryProvider
in interface PAConfiguration
public void setSSLTrustManagerFactoryService(java.lang.String value) throws PbaException
value
- the trust manager factory service identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLTrustManagerFactoryService()
getSSLTrustManagerFactoryService
in interface PAConfiguration
public void setSSLTrustManagerFactoryProvider(java.lang.String value) throws PbaException
value
- the trust manager factory provider identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLTrustManagerFactoryProvider()
getSSLTrustManagerFactoryProvider
in interface PAConfiguration
public void setSSLSecureRandomNumberService(java.lang.String value) throws PbaException
value
- the secure random number service identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLSecureRandomNumberService()
getSSLSecureRandomNumberService
in interface PAConfiguration
public void setSSLSecureRandomNumberProvider(java.lang.String value) throws PbaException
value
- the secure random number provider identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLSecureRandomNumberProvider()
getSSLSecureRandomNumberProvider
in interface PAConfiguration
public void setSSLContextService(java.lang.String value) throws PbaException
value
- the SSL context service identifier
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLContextService()
getSSLContextService
in interface PAConfiguration
public void setSSLContextProvider(java.lang.String value) throws PbaException
value
- the SSL context provider
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLContextProvider()
getSSLContextProvider
in interface PAConfiguration
public void setSSLEnabledProtocols(java.lang.String value) throws PbaException
value
- the SSL enabled protocol identifiers
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLEnabledProtocols()
getSSLEnabledProtocols
in interface PAConfiguration
public void setSSLEnabledCipherSuites(java.lang.String value) throws PbaException
value
- the SSL enabled cipher suite identifiers
PbaException
- if the configuration has already been usedpublic java.lang.String getSSLEnabledCipherSuites()
getSSLEnabledCipherSuites
in interface PAConfiguration
public void setPort(int port) throws PbaException
port
- the port number
PbaException
- if the configuration has already been usedpublic final java.lang.String getPort()
getPort
in interface PAConfiguration
protected static java.lang.String getChangeConfigErrorMsg()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |