+

Search Tips   |   Advanced Search

JACCUtilityCommands

Use this topic as a reference for the commands for the JACCUtilityCommands group for the AdminTask object. Use these commands to determine whether Java Authorization Contract for Containers (JACC) is enabled and whether the runtime uses a single security domain. We can also use these commands to propagate the security policies for application to the JACC provider.


isJACCEnabled

Displays whether JACC is enabled or disabled in the global security domain when the server was started. The command does not indicate dynamic changes. Instead, it displays the JACC status at server startup.

Target object: None.

Required parameters: None.

Return value: Returns true if JACC is enabled. Returns false if JACC is disabled.

Batch mode example usage

Use Jython string:

Interactive mode example usage

Use Jython:


isSingleSecurityDomain

Display whether the environment is configured to use a single security domain when the server was started. The command does not indicate dynamic changes. Instead, it displays the security domain status at server startup.

Target object: None.

Required parameters: None.

Return value: The command returns true if the environment uses a single security domain. The command returns the false string if the environment uses multiple security domains.

Batch mode example usage

Use Jython:

Interactive mode example usage

Use Jython:


propagatePolicyToJACCProvider

Propagate the security policies of the applications of interest to the JACC provider. This command is supported in a single security domain environment only.

Target object: None.

Required parameters: None.

Optional parameters:

Return value: The command does not return output.

Batch mode example usage

Use Jython string:

Use Jython list:

Interactive mode example usage

Use Jython:


Related:

  • JACC providers
  • Propagating security policy of installed applications to a JACC provider
  • wsadmin AdminTask
  • JACC policy propagation