SYSCS_UTIL.SYSCS_RELOAD_SECURITY_POLICY system procedure

The SYSCS_UTIL.SYSCS_RELOAD_SECURITY_POLICY system procedure reloads the security policy, allowing you to fine-tune your Java security on the fly. For more information on security policies, see the section titled "Running the Network Server under the security manager" in the Derby Server and Administration Guide and the section titled "Running Derby under a security manager" in the Derby Developer's Guide.

Syntax

SYSCS_UTIL.SYSCS_RELOAD_SECURITY_POLICY()

No result set is returned by this procedure.

Execute privileges

If authentication and SQL authorization are both enabled, only the database owner has execute privileges on this procedure by default. See "Enabling user authentication" and "Setting the SQL standard authorization mode" in the Derby Developer's Guide for more information. The database owner can grant access to other users.

Example

CallableStatement cs = conn.prepareCall
("CALL SYSCS_UTIL.SYSCS_RELOAD_SECURITY_POLICY()");
cs.execute();
cs.close();