<request-login>

Usage

<rpc>
<request-login>
<username>account</username>
<challenge-response>password</challenge-response>
</request-login>
</rpc>

Description

Request authentication by the Junos XML protocol server when using the clear-text or SSL access protocol.

Emitting both the <username> and <challenge-response> tag elements is appropriate if the client application automates access to device information and does not interact with users, or obtains the password from a user before beginning the authentication process.

Emitting only the <username> tag element is appropriate if the application does not obtain the password until the authentication process has already begun. In this case, the Junos XML protocol server returns the <challenge> tag element to request the password associated with the account.

<challenge-response>—Specifies the password for the account named in the <username> tag element. Omit this tag element to have the Junos XML protocol server emit the <challenge> tag element to request the password.

<username>—Names the account under which to authenticate with the Junos XML protocol server. The account must already be configured on the device where the Junos XML protocol server is running.

Usage Guidelines

See Submitting an Authentication Request.

Related Topics