[Contents] [Prev] [Next] [Index] [Report an Error]

Server Response When Authentication Fails

If the password is not correct or the <request-login> tag element is otherwise malformed, the authentication attempt fails and the JUNOScript server emits the following tag sequence:

<rpc-reply xmlns:junos="URL">
    <authentication-response>
        <status>fail</status>
        <message>error-message</message>
    </authentication-response>
</rpc-reply>

The error-message string in the <message> tag element explains why the authentication attempt failed. The JUNOScript server emits the <challenge> tag element up to two more times before rejecting the authentication attempt and closing the connection.


[Contents] [Prev] [Next] [Index] [Report an Error]