public class CheckJsseProps extends AbstractPlugin
javax.security.auth.login.Configuration.getConfiguration() can
be called successfully. The -security must be included on the
command line for these checks to be done. The checks performed include:
DynamicPolicyProvider
javax.net.ssl.trustStore is defined
and its value is the name of a readable non-directory file
com.sun.jini.discovery.x500.trustStore is
defined, and if so that its value is the name of a readable non-directory
file
javax.net.ssl.keyStore is defined, and if
so that its value is the name of a readable non-directory file
java.security.auth.login.config system property and the
login.config.url.[n] entries in the security properties, or
the users .java.login.config file if no other source is
defined). Verify that at least one such entry exists. Verify that all
defined configuration files exists, are readable, and are not
directories. Verify that
javax.security.auth.login.Configuration.getConfiguration()
can be called successfully.
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckJsseProps.CheckLoginConfigInit
Checks the existence and accessibility of the login configuration.
|
static class |
CheckJsseProps.CheckProviderTask
Checks the policy provider of the group.
|
static class |
CheckJsseProps.GetGroupLoginConfigs
Gets login configuration urls of the group.
|
| Constructor and Description |
|---|
CheckJsseProps() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPluginOption(String opt)
Determine whether
arg is a plugin-specific command-line
option for this plugin and save any necessary state. |
void |
run(EnvCheck envCheck)
Check the security files for the current VM and for the group
VM if there is a
SharedActivationGroupDescriptor. |
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, taskNamepublic boolean isPluginOption(String opt)
Pluginarg is a plugin-specific command-line
option for this plugin and save any necessary state. State should
be saved in static fields since plugin instances may not be cached.isPluginOption in interface PluginisPluginOption in class AbstractPluginopt - the command-line option to examinepublic void run(EnvCheck envCheck)
SharedActivationGroupDescriptor.envCheck - a reference to the plugin containerCopyright © GigaSpaces.