Keywords: derby.drda.securityMechanism property, properties, derby.drda.securityMechanism

# derby.drda.securityMechanism property

The derby.drda.securityMechanism property restricts the client connections based on the security mechanism.

If the derby.drda.securityMechanism property is set to a valid mechanism, the Network Server accepts only connections which use that security mechanism. No other types of connections are accepted. If the derby.drda.securityMechanism property is not set, the Network Server accepts any connection which uses a valid security mechanism.

#### Syntax

    derby.drda.securityMechanism = [
        USER_ONLY_SECURITY |
        CLEAR_TEXT_PASSWORD_SECURITY |
        ENCRYPTED_USER_AND_PASSWORD_SECURITY |
        STRONG_PASSWORD_SUBSTITUTE_SECURITY
    ]

#### Default

None.

#### Example

    derby.drda.securityMechanism=USER_ONLY_SECURITY

The server that runs with this setting accepts only client connections with the USER_ONLY_SECURITY value.

#### Static or dynamic

Static. You must restart the Network Server for the changes that are associated with this property to take effect.

Parent topic: Setting Network Server properties
Related reference
derby.drda.host property
derby.drda.keepAlive property
derby.drda.logConnections property
derby.drda.maxThreads property
derby.drda.minThreads property
derby.drda.portNumber property
derby.drda.sslMode property
derby.drda.startNetworkServer property
derby.drda.streamOutBufferSize property
derby.drda.timeSlice property
derby.drda.traceAll property
derby.drda.traceDirectory property