[jboss-user] [Security JAAS/JBoss] - Re: NPE in GenericPrincipal

2009-03-09 Thread edgoquist
Thanks Anil. That looks really cool but it turns out that I don't need the full-blown federation stuff - I just need a one-time, cross-application login on the same server. And i can accomplish that by simply tuning on the Valve: | Host name=localhost ... | ... | Valve

[jboss-user] [Security JAAS/JBoss] - Re: NPE in GenericPrincipal

2009-03-05 Thread edgoquist
The error was in my LoginProvider of course. I wasn't calling role.setName(). You can move along now, nothing to see here thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215422#4215422 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - SSO Login Error

2009-03-05 Thread edgoquist
I hope someone can help with this. I'm getting an error when i try to login using SSO. Here's the stack trace: | 16:30:04,081 ERROR [SSOAutoLogout] org.jboss.security.valve.SSOAutoLogout[] | java.lang.NullPointerException | at

[jboss-user] [Security JAAS/JBoss] - Cannot Deploy SSO Federation EAR

2009-03-04 Thread edgoquist
I'm trying to deploy jboss-federation-server.ear I get this: | 12:00:25,395 ERROR [ProfileServiceBootstrap] Failed to load profile: | org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(jboss-federation-server.ear) | at

[jboss-user] [Security JAAS/JBoss] - Re: Cannot Deploy SSO Federation EAR

2009-03-04 Thread edgoquist
Oh. Ok. Thanks. All i want to do is get SSO working on JBoss5. How do I do that? should i just use cookies? I've got a situation that looks pretty much like this: ... http://www.jboss.org/community/docs/DOC-12280 ... For example, suppose we have a case where two apps, with URLs

[jboss-user] [Security JAAS/JBoss] - NPE in GenericPrincipal

2009-03-04 Thread edgoquist
I'm trying implement SSO and I'm having some trouble. I've been dealing with most of it but now I've got this: 01:00:44,021 ERROR [JBossWebRealm] Error during authenticate java.lang.NullPointerException at java.util.Arrays.mergeSort(Arrays.java:1144) at

[jboss-user] [Security JAAS/JBoss] - JBoss SSO and Oracle

2009-02-26 Thread edgoquist
I'm trying to get SSO working with my Oracle database. According to the documentation I've seen so far, I'll need to implement a LoginProvider. Before I get too far, I'd like to make sure I'm on the right track. I'm assuming that all of the elements that are defined in the sso.cfg.xml will

[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO and Oracle

2009-02-26 Thread edgoquist
Self-reply: I can see a few things wrong with the code - like I'm checking the wrong username in the exists() method - but in the bigger picture, am I going the right direction? Specifically, is this SSO LoginProvider going to replace my JAAS configuration - that and the

[jboss-user] [Security JAAS/JBoss] - Re: SSO Authentication against Oracle Database

2009-02-25 Thread edgoquist
Thank you. yes, the question was very general as was your answer and that's just the way I wanted it. I haven't really done much work to figure out how to get sso going and just wanted to make sure it was possible thanks. -e. View the original post :

[jboss-user] [Security JAAS/JBoss] - SSO Authentication against Oracle Database

2009-02-24 Thread edgoquist
Is this possible? Can I use SSO with my existing database authentication. The stuff I've seen so far only shows LDAP examples. here's a snippet of my login-config to give a better picture of what i'm trying to do: application-policy name=myname login-module

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: error 401

2008-08-15 Thread edgoquist
That sounds brilliant except that when the login attempt finally fails (after 3 tries) it fails with error 401 - not 403. Thank you though. You've given me a clue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170810#4170810 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - error 401

2008-08-14 Thread edgoquist
I'm using jboss-4.2.2GA and I'm using it the easiest way I can. I've simply created a directory named ROOT.war under the deploy directory and added a WEB-INF/web.xml file and voila. I also have some restricted pages that are protected by a login-config. When I include an error-page element in

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: error 401

2008-08-14 Thread edgoquist
( the description tag didn't show up correctly in the above post. it belongs under the web-resource-name.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170636#4170636 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: error 401

2008-08-14 Thread edgoquist
PeterJ wrote : | You do realize that there is already ROOT.war at deploy/jboss-web.deployer? I wonder what kind of conflicts you are running into between these two... | I'm familiar with it but ... well it's a long story that involves other people. We haven't noticed any conflicts using

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-5.0.0.CR1 SSI

2008-07-15 Thread edgoquist
I still can't get this to work. I understand why i get the error when jboss starts but it's still an error. I submitted the issue to JIRA and got the following reply: Resolution: Rejected Caused by another unrelated problem (use

[jboss-user] [Installation, Configuration DEPLOYMENT] - Error in JBoss05.0.0.CR1 index.html

2008-07-07 Thread edgoquist
Not sure where to post this - it's extremely trivial but this problem makes it hard to RTFM. The index.html file that comes with the JBoss05.0.0.CR1 distribution, available here: http://www.jboss.org/jbossas/downloads/ , has a broken link to the documentation: JBoss Documentation |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error in JBoss05.0.0.CR1 index.html

2008-07-07 Thread edgoquist
BTW, the correct link is: | http://www.jboss.org/jbossas/docs/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162933#4162933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162933

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss-5.0.0.CR1 SSI

2008-07-07 Thread edgoquist
I'm having trouble getting SSI to work. I edited the web.xml to enable SSI default/deployers/jbossweb.deployer/web.xml and I modified the context.xml to grant all web apps privilege to use container jars. default/deploy/jbossweb.sar/context.xml but I'm getting this error when I start jboss:

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-30 Thread edgoquist
But when I do that I get: SecurityException: Servlet of class org.apache.catalina.ssi.SSIServlet is privileged and cannot be loaded by this web application View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161577#4161577 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-30 Thread edgoquist
It doesn't exist. The org.apache.catalina.ssi package is bundled in jbossweb.jar. All you need to do is uncomment the servlet and servlet-mapping sections in CATALINA_HOME/conf/web.xml and make appropriate mods. View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-30 Thread edgoquist
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161579#4161579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161579

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-30 Thread edgoquist
Wow. Thanks edgoquist. You're the greatest! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161580#4161580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161580 ___ jboss-user

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-30 Thread edgoquist
No problem edgoquist. Glad to help. And remember: RTFM! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161581#4161581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161581

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-30 Thread edgoquist
That's because, by default, web apps are not allowed to use container servlets. You need to grant your app that privilege. Here's more info: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-4.2.2GA SSI

2008-06-26 Thread edgoquist
Can anyone at least tell me where to find servlets-ssi.renametojar? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161009#4161009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161009

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss-4.2.2GA SSI

2008-06-19 Thread edgoquist
I'm trying to install the latest stable version of JBoss - jboss-4.2.2GA - and I'm having a problem with server-side-includes. The documentation says: | !-- IMPORTANT: To use the SSI servlet, you also need to rename the -- | !--

[jboss-user] [Security JAAS/JBoss] - Logging out a User

2007-07-02 Thread edgoquist
Hello all, Is there a way to programmatically logout a user? I've seen a bunch of stuff about invalidating the session but that doesn't really clear the authentication. i'm looking for something along the lines of: Subject subj = new Subject (true, request.getUserPrincipal(), null, null);