-
1. Re: username and password
sharkman Aug 2, 2002 3:24 AM (in response to brs_marc)Look here for an example on how to secure your ejbs.
http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-jaas.html -
2. Re: username and password
brs_marc Aug 2, 2002 10:42 AM (in response to brs_marc)Thanks for the link sharkman, i read the whole doc i applied new changes but it still doesnt work...
The only thing that I need for now is a simple login just like tomcat stand alone does. I dont have any EJB's yet (i will in the future, thats why i switched from tomcat to jboss jboss-3.0.1RC1_tomcat-4.0.4) so i just need the basic login... In tomcat i used to set a <security-constraint> in the web.xml file and that would be it, is there something simple like that in JBoss or do i realy have to code my own security procedure?
THANX.... -
3. Re: username and password
jameschaingchen Aug 6, 2002 11:23 PM (in response to brs_marc)Try jboss-2.4.4. The sample code in the cited article on JavaWorld only works for jboss-2.4.x_tomcat-3.2.3. The same code doesn't work for jboss-3.0.x. If someone knows how to get it work for 3.0.x, I would appreciate that he can post the details.
James