Home > Archive > Java Security > October 2004 > SSO + Tomcat + JDBCRealm
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SSO + Tomcat + JDBCRealm
|
|
| Christophe Puaud 2004-10-29, 3:59 pm |
| I should integrate Single Sign On in my webapp (Tomcat 4.1.29).
My webApp use a JDBCRealm to control the users (it's work wihtout SSO).
I add this:
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
in the server.xml.
First, SSO send the login popup.
Second, the webapp send a second login popup !? And I can't connect to the
application (the login and the password don't work)
Any has an idea ?
Thanks.
Christophe
| |
| Christophe Puaud 2004-10-29, 3:59 pm |
| The error message :
2004-10-29 16:34:38 CoyoteAdapter Bad Cookie Name: path /Value: /
java.lang.IllegalArgumentException: Le nom de cookie path est un "token"
réservé
at javax.servlet.http.Cookie.<init>(Cookie.java:185)
at
org.apache.coyote.tomcat4.CoyoteAdapter.parseCookies(CoyoteAdapter.java:393)
at
org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:
295)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:191)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:549)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:666)
at java.lang.Thread.run(Unknown Source)
"Christophe Puaud" <cpuaud@ANTISPAMsopragroup.com> a écrit dans le message
de news:cltjcd$q2e$1@s5.feed.news.oleane.net...
> I should integrate Single Sign On in my webapp (Tomcat 4.1.29).
> My webApp use a JDBCRealm to control the users (it's work wihtout SSO).
> I add this:
> <Valve className="org.apache.catalina.authenticator.SingleSignOn"
> debug="0"/>
> in the server.xml.
> First, SSO send the login popup.
> Second, the webapp send a second login popup !? And I can't connect to the
> application (the login and the password don't work)
> Any has an idea ?
> Thanks.
>
> Christophe
>
>
>
|
|
|
|
|