i have tried to access a resource located on Apache-Coyote server on my localhost:8080. The server requires me to authenticate with credentials with Basic scheme.
WWW-Authenticate :Basic realm="Tomcat Manager Application".
i have gone throught the RFC for HTTP Basic authentication , whcih state that a
Authorization requst header field is to be set with appropriate credentials(user_name and password)
ok. i can do that by
Further it state that
To receive authorization, the client sends the userid and password, separated by a single colon (":") character, within a base64
encoded string in the credentials.
now it seems that "Basic nav:111" string is to be encoded in base64.