[JBoss-user] [Security & JAAS/JBoss] - Re: Where do properties files go?
Excellent Scott - yes, that's what it was, works fine now - phew! Thx Matthew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877154#3877154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877154 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Where do properties files go?
I have found a guide on a Scottish University site. They confirm that classes is the right directory in my war file. I have also tried using the conf directory for the users.properties and roles.properties, tried specifying my properties file names in login-config as well but no joy. I have tried using BASIC but again it doesn't recognise my password. Two and a half days of zero productivity and starting to give up hope - has anyone ever got org.jboss.security.auth.spi.UsersRolesLoginModule to work?! Matthew Surrey, England View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877149#3877149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877149 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Where do properties files go?
I am using declarative security in my web app. I am able to identify a servlet and put a constraint on it so that I get my login form when I reference it. I am using anonymous wrote : org.jboss.security.auth.spi.UsersRolesLoginModule I've hunted all over the place go through all the documentation I can find - there is regular reference to users.properties and roles.properties but no indication of where they should be. I have tried packaging them in the classes directory in my war file but the login service (j_security_check) takes me to my form-error-page every time I try and login (it appears not to be able to get to the correct password in the users.properties). I would appreciate any help you could offer in this regard. Thx Matthew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877138#3877138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877138 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - FORM based security
I am using jboss-4.0.0RC2. I am trying to use form-based declarative security. My web.xml is: http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; | version="2.4"> | | Certification | no description | | | showlogs | Show Logs | no description | com.onestraw.servlets.ShowLogs | | |showlogs |/sec/showlogs | | | | admin | | | users | | | FORM | certification | | /login.html | /loginError.html | | | | | Show Log Records | /sec/* | GET | POST | | | admin | | | My jboss-web.xml is: | | java:/jaas/certification | | | I have added this to my login-config: | | | | My user.properties has: matthew=frodo | kaylene=bilbo and my roles.properties has: matthew=admin,users | kaylene=users both files being in my classes dir in my war. I am expecting the server to present me with my login form page when I try to access /sec/showlogs but instead it lets me access that servlet without any authentication. Does anyone know what I am doing wrong? Thx, Matthew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877027#3877027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877027 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: EL (expression language - as per JSP 2.0) support
Thx janbols - yup I was still on 2.3 in my web.xml. Have updated and of course it works now. Cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874866#3874866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874866 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - EL (expression language - as per JSP 2.0) support
I am using jboss-4.0.0RC2. I have experimented with using EL in my jsp's but it simply prints the text and does not seem to understand it. How do I activate EL support on jboss? Regards, Matthew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874849#3874849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874849 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user