SecurityProxy.useCredentials()

Method

Declaration

void useCredentials(
    java.lang.String  name,
    java.lang.String  password)
  throws ConfigurationException

Purpose

Record administrator identification for the configuration program.

Remarks

This method records administrator identification credentials within your Java program. When the daemon component requests identification, the program automatically transmits these credentials to the daemon.

Of course, these credentials must match the credentials stored at the daemon, otherwise the daemon rejects them and closes the connection.

Parameter

Description

name

Set the program to offer this administrator name.

password

Set the program to offer this administrator password.

See Also

SecurityProxy

SecurityProxy.getAdministratorName()

SecurityProxy.setCredentials()