Method Summary |
|
public synchronized void | addKeyStoreManager(String name, String manager) Add a new KeyStore Manager. |
public synchronized void | addParameterToKeyStoreManager(String manager, String name, String value) Add a parameter to a KeyStoreManager, if it does not exist, the parameter is
not added. |
public synchronized void | addParameterToUserDomain(String domain, String name, String value) Add a parameter to a User Domain, if the domain does not exist, the parameter is
not added. |
public void | addSecurityContexts(Document dom) |
public synchronized void | addUserDomain(String name, String domain) Add a new User Domain. |
public void | createSecurityConfiguration(Document dom) Create a SecurityConfiguration object from the dom. |
public static SecurityInstallConfig | createSecurityInstallConfig(GenericConfigurationMBean configMBean, StringTranslator translator) Create a SecurityInstallConfig from a GenericConfigurationMBean.
Parameters: configMBean - is the GenericConfigurationMBean which has the Properties to be used for the creation of the SecurityInstallConfig object Parameters: translator - is the StringTranslator throws: JBIException - if the configuration data is not sufficient/valid tocreate the SecurityConfiguration information. |
public static Properties | filterProperties(Pattern pattern, GenericConfigurationMBean configMBean) Filter Property keys with the specified prefix. |
public static Properties | filterProperties(Pattern pattern, Properties srcProps) Filter Property keys with the specified prefix.
Parameters: pattern - is the pattern to be matched. Parameters: srcProps - are the Properties to search for a match. |
public synchronized org.w3c.dom.Document | generateDocument() As the name suggests generate a DOM from the Configuration data this object holds. |
public String | getDefaultKeyStoreManagerName() |
public String | getDefaultUserDomainName() |
public HashMap | getKeyStoreContexts() Get a Map of KeyStore Services keyed by their name. |
public String | getKeyStoreCtx(String name) Get an XML String which has the meta-data for a particular key store manager.
Parameters: name - is the logical name of the KeyStoreManager. |
public String | getKeyStoreCtxs() Get an XML String listing all the KeyStoreManagers and their meta-data. |
public String | getSSLClientAlias() |
public String | getSSLClientProtocol() |
public boolean | getSSLClientUseDefault() |
public boolean | getSSLServerRequireClientAuth() |
public String | getTransportSecurityConfig() Get an XML String for the TransportSecurityContext. |
public Properties | getTransportSecurityContext() |
public HashMap | getUserDomainContexts() Get a Map of User Domain Contexts by their name. |
public String | getUserDomainCtx(String name) Get an XML String which has the meta-data for a particular user domain
User Domain.
Parameters: name - is the logical name of the UserDomain. |
public String | getUserDomainCtxs() Get an XML String listing all the UserDomains and their meta-data. |
public synchronized void | removeKeyStoreManager(String name) Remove a KeyStore Manager. |
public synchronized void | removeParameterFromKeyStoreManager(String manager, String name) Remove a parameter from the KeyStoreManager. |
public synchronized void | removeParameterFromUserDomain(String domain, String name) Remove a parameter to a User Domain. |
public synchronized void | removeUserDomain(String name) Remove a User Domain. |
public synchronized void | setDefaultKeyStoreManagerName(String defKSMgr) |
public synchronized void | setDefaultUserDomainName(String defUserDomain) |
public synchronized void | setSSLClientAlias(java.lang.String alias) |
public synchronized void | setSSLClientProtocol(String protocol) |
public synchronized void | setSSLClientUseDefault(boolean flag) |
public synchronized void | setSSLServerRequireClientAuth(boolean flag) |
public void | updateConfigMBean(GenericConfigurationMBean configMBean) Convert this SecurityInstallConfig instance to GenericConfigurationMBean
Properties. |
public void | updateKeyStoreManagerProperties(GenericConfigurationMBean configMBean) |
public void | updateTransportSecurityCtxProperties(GenericConfigurationMBean configMBean) |
public void | updateUserDomainProperties(GenericConfigurationMBean configMBean) |
public void | validate() Validate the State of this Object.
throws: JBIException - if the state is invalid. |