[jboss-user] [Security & JAAS/JBoss] - Re: Multiple security constraint for multiple roles

2006-11-01 Thread bjornn
What is your problem? I did not understand... It's look like ok for me. You can(maybe should) have multiples securtity constraints for diferent roles... Are something that doesn't work? One point: you write "http://localhost:8080/administrator"; and probally you want to write "http://localhost

[jboss-user] [Security & JAAS/JBoss] - Autologin with JAAS

2006-11-01 Thread bjornn
Hi, I'm using JAAS with basic autentication and database login module in my web app and everything works fine. But I think that I will have problem at one point: In my web app, when the user create your account, he is automatically logged in when he inputs the name, choosen login, valid email

[jboss-user] [Security & JAAS/JBoss] - Re: Null HttpSession using JAAS

2006-10-18 Thread bjornn
Hi jakiran, I'm not using request.getSession() because in the case of my logout page invalidate de session, the filter would create a new one and the user would stay logged in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979051#3979051 Reply to the post

[jboss-user] [Security & JAAS/JBoss] - Null HttpSession using JAAS

2006-10-17 Thread bjornn
Hi all, I'm using JAAS in my web app with the basic authentication. It worked fine, until I write a filter. My filter asks for "request.getSession(false) != null" and make some session attribute binds if there is a session. I'm having problems when the filter is called at first time, just afte

[jboss-user] [Security & JAAS/JBoss] - Re: can't do loging to Authorized pages using JAAS

2006-10-17 Thread bjornn
You need a file named jboss-web.xml. Place it in the same dir as web.xml. File content: java:/jaas/ Best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978826#3978826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [Security & JAAS/JBoss] - Re: JDBC Realm

2006-08-03 Thread bjornn
Hi zurchman, My datasource has some problemas, like as mismatch in url connection... but I was guess that jboss would complain... I work hard to discover it. But I can't solve the problem yet. Now, after just one attempt I get a 403 error. The server log print this lines below just after my log

[jboss-user] [Security & JAAS/JBoss] - Re: JDBC Realm

2006-08-03 Thread bjornn
hi, I have tried to create a new file named sample-login-config.xml and put it into /conf dir. I have created a service file named sample-login-config-service.xml mapping the new config file and put it into /depoy dir. Nothing happened I don't know what to do... Am I supposed to find any

[jboss-user] [Security & JAAS/JBoss] - Re: JDBC Realm

2006-08-02 Thread bjornn
Hi j2ee_junkie, Hi zurchman. Follow me: "j2ee_junkie" wrote : bjornn, | | Your problem then is your query. As I already mentioned, the sql configured in your security-domain must be specific for you database. For more details about the DatabaseServerLoginModule

[jboss-user] [Security & JAAS/JBoss] - Re: JDBC Realm

2006-08-02 Thread bjornn
I have copied the query from login-config.xml from the policy "JBossMQ, and just make the necessary modifications Both policies(mine and jbossmq) are in the same file, under conf dir. The JBossMQ policy looks like this: | | | | | guest

[jboss-user] [Security & JAAS/JBoss] - JDBC Realm

2006-08-02 Thread bjornn
Hi all, Following some hints, tips, articles I'm trying to develop a small sample using JAAS & JBoss. I think I have understood the concepts, but when I start to code, things became hard... hehehe. Maybe I have forgot something... I don't know exactaly. According what I have read, I proceed l