i use tomcat 7 , want use http basic authentication. if want access site, forced type in username , password.
my url: http://localhost:8080/project
but want provide username , password in url. want skip window have write username , password. described http://en.wikipedia.org/wiki/basic_access_authentication
wiki example: https://username:password@www.example.com/path
in case should following:
username = admin password = mypw1# https://admin:mypw1#@localhost:8080/project or
http://admin:mypw1#@localhost:8080/project but not working. neither in firefox nor in chrome. browser can't find site. if use localhost:8080/project site loaded , prompted login username , password.
browser uses # anchor. have escape hash or use http auth header.
Comments
Post a Comment