Re: already tried to authenticate..., but still receiving: HTTP/1.1 401 Unauthorized

2005-07-20 Thread Ho-Ki Au
yes, i already did. my jboss-web.xml is like: http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";> java:/jaas/saybot and my jboss.xml for my ejb jar is like: java:/jaas/saybot so i used the java:/jaas/saybot security domain, which is defined in login-config.xml:

Re: already tried to authenticate..., but still receiving: HTTP/1.1 401 Unauthorized

2005-07-20 Thread M.-Leander Reimer
Hi, have you checked the security domain used in you jboss-web.xml? It's usually java:/jass/other which uses roles.properties and users.properties (look in you cactified WAR). If the roles you use in your web.xml and the user credentials you use in the setAuthentication method are not containe

already tried to authenticate..., but still receiving: HTTP/1.1 401 Unauthorized

2005-07-20 Thread Ho-Ki Au
I was trying to write some cactus tests to test an ejb which required authentication. The application server used was jboss-4.0.2, with the tomcat 5 web container. I followed the instructions documented on the official cactus web site and created a protected ServletRedirectorSecure servlet to do