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:
|
| ...
|
| ...
|
|
More info at: http:
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
org.jboss.security.valve.SSOTokenManager.invoke(SSOTo
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=bb&op=viewtopic&p=4215422#4215422
Reply to the post :
http://www.jboss.org/index.html?module
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 java.util.Arrays.mergeSort(
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
http://app1.xy
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
org.jboss.d
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 UsernameAndPasswordLog
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
b
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 :
http://www.jboss.org/index.html?module=bb&o
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:
java:/dsname
select passwd from ...
select role from ...
I don't want to
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=bb&op=viewtopic&p=4170810#4170810
Reply to the post :
http://www.
"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
( 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=bb&op=viewtopic&p=4170636#4170636
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
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 th
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
org.apache.catalina.ssi.SSIServlet). Loading
restictions ha
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:
BTW, the correct link is:
| http://www.jboss.org/jbossas/docs/
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162933#4162933
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162933
_
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
|
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161578#4161
No problem edgoquist. Glad to help. And remember: RTFM!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161581#4161581
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
Wow. Thanks edgoquist. You're the greatest!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161580#4161580
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161580
_
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161579#4161579
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161579
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
sections in CATALINA_HOME/conf/web.xml and make appropriate
mods.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161576#4161
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=bb&op=viewtopic&p=4161577#4161577
Reply to the post :
http://www.jboss.co
Can anyone at least tell me where to find servlets-ssi.renametojar?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161009#4161009
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161009
___
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:
|
|
|
|
Assuming that CATALINA_HOME is
.../jboss-4.2.2GA/server/default/deploy/jboss-web.deployer, the SSI jar file
doesn't
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);
Login
27 matches
Mail list logo