[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-07 Thread changemylife
Hi! anonymous wrote : 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are "A", "B" and "C". And now, I want "A" and "B" are allow restart JBoss server, "C" is not allow! How I can do ? ---> I installed JBoss server, and I only want the specific

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-07 Thread jaikiran
anonymous wrote : 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are "A", "B" and "C". And now, I want "A" and "B" are allow restart JBoss server, "C" is not allow! How I can do ? changemylife, I havent done that before so i wont be of much h

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-03 Thread changemylife
Hi all! Thanks Jaikirain! Your explains are very helpfull for me and everyone that want discovery about JBoss. Two day ago, I have two problems and I posted they on Forum but not received reply. I hope that you can explain and help me about they again. 1. My operating system is XP2, I use

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-02 Thread jaikiran
That was just a co-incidence. Your file was never picked up. By default, the UserRolesLoginModule was being picked up from the login-config.xml file present in the conf folder of JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024810#4024810 Reply to

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-02 Thread changemylife
Hi ! But when I use UserRoleLoginModule, I writed my login-config.xml. And all things ok! (DatabaseServerLoginModule is not success!). Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024804#4024804 Reply to the post : http://www.jboss.com/index

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-02 Thread jaikiran
That's because JBoss never picked up the login-config.xml that you had created. JBoss looks at the login-config.xml file present in its conf folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024708#4024708 Reply to the post : http://www.jboss.com/index.

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-01 Thread changemylife
Thanks jaikiran! I solved my problems! But I wondered that: If I write my login-config.xml: | | | | | | guest | java:/DefaultDS | SELECT PASSWD FROM USERS WHERE USERID=? | SELECT ROLEID, 'Roles' FRO

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-01 Thread jaikiran
anonymous wrote : Then, I run my main class and from console I enter username and passwd. But any informations that I entered can't call method on ActionBean (ex:obj.getCallInfo()). Do you see any exceptions?If yes, post the exception stacktrace. Also post the trace logs of security package o

[jboss-user] [Security & JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL

2007-03-01 Thread changemylife
I wonder that some informations (username and passwd) that user enter and informations that Jboss server get from mySQL were encoded ? So, they not match ! Have any ideals ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024515#4024515 Reply to the post : h