GigaSpaces XAP 10.0.1 API

com.sun.jini.tool.envcheck.plugins
Class CheckJsseProps

java.lang.Object
  extended by com.sun.jini.tool.envcheck.AbstractPlugin
      extended by com.sun.jini.tool.envcheck.plugins.CheckJsseProps
All Implemented Interfaces:
Plugin

public class CheckJsseProps
extends AbstractPlugin

Checks whether various security oriented configuration files exist and are accessible. content verification is done only for the login configuration, and is limited to verifying that 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:

These checks are performed for the command line being analyzed and for the activation group if one exists.


Nested Class Summary
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 Summary
CheckJsseProps()
           
 
Method Summary
 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.
 
Methods inherited from class com.sun.jini.tool.envcheck.AbstractPlugin
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, taskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckJsseProps

public CheckJsseProps()
Method Detail

isPluginOption

public boolean isPluginOption(String opt)
Description copied from interface: Plugin
Determine whether arg 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.

Specified by:
isPluginOption in interface Plugin
Overrides:
isPluginOption in class AbstractPlugin
Parameters:
opt - the command-line option to examine
Returns:
true if the plugin supports this option

run

public void run(EnvCheck envCheck)
Check the security files for the current VM and for the group VM if there is a SharedActivationGroupDescriptor.

Parameters:
envCheck - a reference to the plugin container

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.