File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Problem with security constraints while doing authentication & authorization in Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem with security constraints while doing authentication & authorization in Mozilla" Watch "Problem with security constraints while doing authentication & authorization in Mozilla" New topic
Author

Problem with security constraints while doing authentication & authorization in Mozilla

Rahul Ba
Ranch Hand

Joined: Oct 01, 2008
Posts: 205

I am using the Http Basic authentication mechanism for security. It works into the IE browser but not in Mozilla. I have printed the Header parameters below.
Let me know the reason if you know.

host
localhost:8080
user-agent
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
accept
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language
en-us,en;q=0.5
accept-encoding
gzip,deflate
accept-charset
ISO-8859-1,utf-8;q=0.7,*;q=0.7
keep-alive
300
connection
keep-alive
authorization
Basic Ym90aDp0b21jYXQ=
cache-control
max-age=0



Thanks in advance.

Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
Hi Rahul.
authorization
Basic Ym90aDp0b21jYXQ=

Can you please explain, how you got above header?
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

What error do you see ? A blank page ? Is that the response ? What is the response code ?

Please post a log trace or error stack trace. The more information we have the better the chances of us helping you.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with security constraints while doing authentication & authorization in Mozilla