login module

hi,

i have a jsf webapplication that runs fine

now my task is to do the authorization of users through active directory.

but first of all, i have to force the webapplication to show a login module. (best is to show users a standard Internet Explorer Login popup).

but i have no idea how to write in my application to show this login-popup.

or should it be configured in tomcat maybe?

(i have already been able to configure tomcat to work over ssl, but still no login and password is asked).

can someone help me a bit with this?

(i've looked already more then a day around on the internet, without success)

thanks

[678 byte] By [Sunneke31a] at [2007-11-27 9:37:48]
# 1

I don't know what you mean by "active directory" so I don't know if this helps but..

You can define a security constraint in your deployment descriptor file if you wish to set up a restricted area of your website. Following the security constraint, you can define a login-config section which will indicate to Tomcat how you want visitors to be authorized. To show a standard pop up in the browser, use BASIC authentication.

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security5.html

http://www.cafesoft.com/products/cams/tomcat-security.html

nantucketa at 2007-7-12 23:09:47 > top of Java-index,Security,Other Security APIs, Tools, and Issues...