[JBoss-user] [HTTPD, Servlets & JSP] - Re: Redirect Filter

2005-03-04 Thread mrchucho
I was able to solve this by setting the welcome-file to be my servlet, e.g: |myapp |org.apache.tapestry.ApplicationServlet |1 | | |myapp |/app | | |myapp | View the original post : http://www.jboss.

[JBoss-user] [HTTPD, Servlets & JSP] - Redirect Filter

2005-03-02 Thread mrchucho
I'm using JBoss 3.2.6 and Tapestry. I'm using a filter ( org.apache.tapestry.RedirectFilter) to redirect requests from http://localhost:8080 to http://localhost:8080/app -- which is the Tapestry servlet. If I specify a welcome-file, that page seems to be served instead, whereas in JBoss 3.2.3,

[JBoss-user] [Security & JAAS/JBoss] - Re: Customized form-error-page

2005-02-25 Thread mrchucho
Where can I throw an exception? I just want to subclass UsernamePasswordLoginModule -- but it looks like the only exceptions get thrown in super.login(). RMC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867977#3867977 Reply to the post : http://www.jboss

[JBoss-user] [HTTPD, Servlets & JSP] - Re: FormAuthValve

2005-02-25 Thread mrchucho
Where in your Custom Login module can/should you throw the exception? I see that getRoleSet throws a LoginException, but not validatePassword... RMC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867972#3867972 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Security & JAAS/JBoss] - Re: Customized form-error-page

2005-02-25 Thread mrchucho
"ricardoarguello" wrote : Please read this post: | http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865274That did the trick. Thanks!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867970#3867970 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Security & JAAS/JBoss] - Customized form-error-page

2005-02-24 Thread mrchucho
Is there any way to "pass" information to the form-error-page when using FORM based authentication? A custom login module could know why the login failed -- e.g. Account Locked vs. Bad Password vs. Expired Password -- is there anyway to pass this information to the form-error-page? Thanks. RMC

[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2005-01-04 Thread mrchucho
It may depend on your distribution... I would check other files in /etc/pam.d (i.e. grep pam_unix.so *) and see how they do it. You may need to prepend some path info. Also, see my note about stacking: auth required pam_stack.so service=system-auth This format may be required in some c

[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2005-01-03 Thread mrchucho
"janoss" wrote : I was writing my own JNI C program to use PAM to get to the NIS passwd file. SysAuth uses JNI to access PAM. The authentication is then handled like any other PAM module (e.g. ssh, ftp, login, etc.). You might want to save yourself the duplicated effort. View the original post

[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2004-12-27 Thread mrchucho
Sorry it took so long, but I've posted the initial draft of my JBoss Linux Authentication HOWTO. I'm going to try putting together some of the links I used to figure all this out and maybe organize things better, but in the meantime check it out and let me know if it works/makes sense/helps! h

[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2004-12-17 Thread mrchucho
Actually, i finally was successful. I've been meaning to write up an explanation, but here it is in a nutshell: 1) use SysAuth: http://www.scribblin.gs/software/sysauth.html 2) implement your own subclass of UsernamePasswordLoginModule calling Sysauths's isAllowed method This assumes you want

[JBoss-user] [Security & JAAS/JBoss] - kerberos login module

2004-09-20 Thread mrchucho
I understand how to use Kerberos to authenticate and I userstand how to setup my jaas security domain in JBoss. But, I DON'T understand how to use Kerberos as my LoginModule... | | | | And I've added the following java-opts to by run.conf: -Djavax.security.auth.useSubj

[JBoss-user] [Security & JAAS/JBoss] - authenticate against underlying Linux OS

2004-09-02 Thread mrchucho
I've search the forums and the web, but to no avail: is there a way to authenticate a web user against the Linux OS of the server on which JBoss is running? In other words, users log into the web application using the same username and password as they would use to log into the server itself. I

[JBoss-user] [Beginners Corner] - Re: Native Library already loaded in another classloader

2004-08-28 Thread mrchucho
Is there a better way to load and/or use the native library, so that this isn't an issue? RMC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846533#3846533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846533 -

[JBoss-user] [Beginners Corner] - Native Library already loaded in another classloader

2004-08-27 Thread mrchucho
I'm successfully using JNI, but when I redeploy my war, I get a "Native Library jboss-3.2.3/bin/libCalculateNetVolume.so already loaded in another classloader" exception. I have my shared library in my $JBOSS_HOME/bin directory and I set "JAVA_OPTS: -Djava.library.path=bin". I'm loading the lib