MID Server ISecuredConfigProvider interface

reference brazil Updated Sep 10, 2026 1 min read mid-secured-config-interface.md
Raw file servicenow.com

Use the methods in this interface to create custom providers that manage secured parameter values in the MID Server config.xml file.

Note: These methods are contained in the snc-automation-api.jar file, located in the MID Server installation folder.

initialize

This method initializes the provider with additional configuration parameters and does not return a value.

Text
void intialize(java.util.Properties properties,               IMidServerEncrypter encrypter)        throws java.lang.Exception
|Parameters|Description| |----------|-----------| |properties|Initialization properties.| |encrypter|Encrypter to use if the provider is encryption based.|

java.lang.Exception

## isParameterValueSecured

This method checks to see if the parameter value has been secured or not. This method returns a boolean type value.

boolean isParameterValueSecured(java.lang.String paramValue)

|Parameter|Description| |---------|-----------| |paramValue|The parameter value.|

The parameter returns true if the parameter value is secured.

## secureParameterValue

This method secures the parameter value if it has not been secured. This method returns a string type value.

Text
java.lang.String secureParameterValue(java.lang.String unsecuredParameterValue)                               throws java.lang.Exception
|Parameter|Description| |---------|-----------| |unsecuredParameterValue|The unsecured parameter value.|

This method returns the unsecuired parameter value.

java.lang.Exception

## unsecuredParameterValue

This method returns the unsecured value of the parameter. This method returns a string type value.

Text
java.lang.String unsecuredParameterValue(java.lang.String parameterName)                                  throws java.lang.Exception
|Parameter|Description| |---------|-----------| |parameterName|The parameter name.|

This parameter returns the unsecured value.

java.lang.Exception

**Parent Topic:**[MID Server configuration file security]()
Search documentation
Search document titles and file paths on the brazil branch