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.
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,
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
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
"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
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
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
"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
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
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
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
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
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
-
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
14 matches
Mail list logo