Set(byte[], OracleCertificateFunctionality, OracleCredentialFunctionality)

This method sets the in-memory SSO wallet functionalities for the OracleConnection to use.

Declaration

// C#
public OracleSSO SetSSO(byte[] content, OracleCertificateFunctionality certificateFunctionality, OracleCredentialFunctionality credentialFunctionality)

Parameters

  • content

    A byte[] of the SSO wallet content.

  • certificateFunctionality

    The certificate functionalities to use the SSO file content for.

  • credentialFunctionality

    The credential functionalities to use the SSO file content for.

Return Value

Returns itself so that multiple calls can be chained.

Exceptions

Throws ORA-50128 if the object is read-only.

Remarks

For the certificateFunctionality and credentialFunctionality parameter values, multiple functionalities can be enabled using bitwise OR.

Subsequent calls to Set() overwrite previous Update() and Set() calls if the functionalities overlap.

Before MakeReadOnly() is called, the Set() and Update() methods perform the same function. Their difference is after MakeReadOnly() is called, only Update() can be called to update existing functionalities.

If the content is null or empty, the specified functionalities will be unset unless OracleSSO has already been set to read only.