Sun OpenSSO Enterprise Policy Agent 3.0 User's Guide for J2EE Agents

Locking J2EE Agent Properties


Caution – Caution –

Changing configuration properties can have unexpected results. Furthermore, hot-swappable properties take effect immediately. Therefore, configuration mistakes are instantly implemented.


You can lock the configuration to help prevent such accidental changes. Then you can unlock and lock the configuration as necessary.

ProcedureTo Lock the Agent Configuration Properties

  1. Using your text editor of choice, open the OpenSSOAgentBootstrap.properties file.

    The bootstrap file is available at the following location:

    PolicyAgent-base/AgentInstance-Dir/config/OpenSSOAgentBootstrap.properties
    

    For information about this location, see Table P–6

  2. In the bootstrap file, locate the following setting:

    com.sun.identity.agents.config.lock.enable = false

    This property is set to false, which is unlocked, by default.

  3. Change the false setting to true to lock the properties.

  4. Save and close the bootstrap file.

  5. Restart the agent instance container for the change to take effect.