Hitachi

uCosminexus Application Server Security Management Guide


The setSecretData method

Organization of this page

Description

Encrypts SecretData and stores it into this object. If SecretData already exists, it is overwritten.

Syntax

public void setSecretData(String secretData);

Parameter

secretData:

Specifies SecretData.

Exceptions

com.cosminexus.admin.auth.CryptoException:

An attempt to encrypt SecretData has failed because the encryption key file cannot be read.

java.lang.UnsatisfiedLinkError:

An attempt to read the single sign-on library has failed.

java.lang.SecurityException:

SecurityManager is present, and read access to the file using SecurityManager's checkRead method has been rejected.

Return value

None