[JBoss-user] [HTTPD, Servlets & JSP] - how to get user information from database after the user log

2005-03-04 Thread choikim
Hi. I am using form-based delarative security using mysql. After the user logged in the main page, I want to get the user information from the database using the user name and password and display it on the screen. I've implemented entity bean/session bean that retrieves the info, and it works

[JBoss-user] [HTTPD, Servlets & JSP] - how to get user roles after the user logged in

2005-03-02 Thread choikim
I'm using form based declarative security using mysql database. After the user logged in, I want to display different selections on the screen depending on the role the user has using jsp or servlet. I can get the username using request.getRemoteUser(), but is there any way that I can get user r

[JBoss-user] [Security & JAAS/JBoss] - how to get user roles after the user logged in

2005-03-01 Thread choikim
I'm using form based declarative security using mysql database. After the user logged in, I want to display different selections on the screen depending on the role the user has using jsp or servlet. I can get the username using request.getRemoteUser(), but is there any way that I can get user r

[JBoss-user] [Security & JAAS/JBoss] - Re: how to test form-based security using jaas, mysql set up

2005-03-01 Thread choikim
Thank you for all the help. I made it work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868389#3868389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868389 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: how to test form-based security using jaas, mysql set up

2005-02-25 Thread choikim
I had login.html with and my application deployed. However, if I tried to login, it shows http://localhost:8080/projectname/j_security_check on the url and doesn't do anything. What am I missing here ? Also, I thought I configured JAAS using jboss documentation, but I'm not sure if I d

[JBoss-user] [Security & JAAS/JBoss] - how to test form-based security using jaas, mysql set up

2005-02-25 Thread choikim
Hi. I'm a beginner at jboss, so I'm struggling with setting up the server. I developed web ( jsp, servlet ) and ejb ( session bean ) and it works fine without any security. So now I'm trying to add form-based security to my application. I've read jboss documentation chapter8 and modified web.x

[JBoss-user] [Beginners Corner] - Unable to compile class for JSP error

2005-01-26 Thread choikim
Hi. I installed JBoss on linux server ok, and then now I'm trying to install JBoss on my window box, and I could run the server ok. I can see the page http://localhost:8080/. However, when I tried to see http://localhost:8080/jmx-console, I've got 500 error - unable to compile class for JSP er

[JBoss-user] [JBoss Getting Started Documentation] - Re: Problem in running Duke's Bank Application

2005-01-26 Thread choikim
I'm going through the Getting Started Documentation myself and I got it compiled. You have to download Duke's Bank Application code from sun first, and then you have to add more codes from Jboss Getting Started Documentation. Then you won't have class not found exceptions. I got it compiled an

[JBoss-user] [Beginners Corner] - Can't run Duke's Bank application

2005-01-25 Thread choikim
I tried to run Duke's Bank application. I downloaded all the necessary files and installed all the tools and ran ant jboss-build.xml script. I followed instructions on Chapter 4. The Duke?s Bank Application on Getting Started with JBoss 4.0 documentation. I checked all the java class files, ejb,