[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-07 Thread angelzworld
First , thanks for replying..I hope you are able to solve my problem I am using form based authentication. Essentially the username and password is grabbed via HTML form.heres the code for my .vm template. **login.vm

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-06 Thread angelzworld
2 days and still no reply to my topic.. :( I am using the jboss 4.0.2 version.. well, i have done a lot of research on the exception "insufficinet permissionsprincipal=[null]..." and from what i found on the forums and the WIKI, my login.xml needs to be like that : l

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-04 Thread angelzworld
Well I am still stuck with the exception reported earlier. I was hoping I could get some replies for that :(. My application needs authorized access to create and add users for the application. Say, only users with the role 'ManageUsers' can create and add users and users with role 'NormalUsers

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-04 Thread angelzworld
Well I am still stuck with the exception reported earlier. I was hoping I could get some replies for that :(. My application needs authorized access to create and add users for the application. Say, only users with the role 'ManageUsers' can create and add users and users with role 'NormalUsers

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-04 Thread angelzworld
Yeah , I did notice that :) and rectify that , changed the query as well as the application policy name. Now here is the problem I am facing. In jboss.xml , the security-domain is sepcified as : java:/jaas/megs I guess this makes jboss look for login modules when you attempt to login to a sit

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-03 Thread angelzworld
oks this is what I have till now, For Starters, I just need to verify, if a user with the username "admin" and password "superuser" can successfully login into the application. This is my Database Schema in postgresql users table which stores the user information * id (INTEGER PRIMARY KEY)

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-10-03 Thread angelzworld
Well, thanks for all those tips, I am trying out that right now. I am still a bit confused regarding the configuration of JAAS for JBOSS, I am developing an ejb application, so accordingly I guess I need to configure the following files: -- ejb-jar.xml -- jboss.xml -- login-config.xml How about

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-09-30 Thread angelzworld
Thanks a lot for that tip, I am going through the documentation and well by now I am familiar with the basics, but need to know how it works togetther as a whole, so was looking out for the example. Can you please provide me with the link for the DVD Store Trail Blazer? I was not able to locate

[JBoss-user] [Security & JAAS/JBoss] - JAAS Security in JBOSS 4.0 ISSUES??

2005-09-29 Thread angelzworld
I am trying to implement JAAS security in JBOSS and need a proper working example for this. I tried executing the jaas_howto 3.2x , however it does not get deployed, i guess its probably because of the change in version. I came up across this article on the net which explains pretty well abt JA