ASF Bugzilla – Attachment 14918 Details for
Bug 34724
Domain for single sign-on cookie
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SSO cookie domain patch
AuthenticatorBase.java.patch (text/plain), 941 bytes, created by
Oliver Rossmueller
on 2005-05-03 13:40:28 UTC
(
hide
)
Description:
SSO cookie domain patch
Filename:
MIME Type:
Creator:
Oliver Rossmueller
Created:
2005-05-03 13:40:28 UTC
Size:
941 bytes
patch
obsolete
>--- ./jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java 2005-03-26 20:23:58.000000000 +0100 >+++ /home/oros/projekt/motoso/Tomcat/src/AuthenticatorBase.java 2005-03-16 21:30:17.000000000 +0100 >@@ -69,7 +69,7 @@ > * requests. Requests of any other type will simply be passed through. > * > * @author Craig R. McClanahan >- * @version $Revision: 1.25 $ $Date: 2004/09/13 21:07:43 $ >+ * @version $Revision: 1.2 $ $Date: 2005/03/01 16:51:56 $ > */ > > >@@ -699,6 +699,11 @@ > Cookie cookie = new Cookie(Constants.SINGLE_SIGN_ON_COOKIE, ssoId); > cookie.setMaxAge(-1); > cookie.setPath("/"); >+ String ssoDomain = System.getProperty("tomcat.sso.cookie.domain"); >+ >+ if (ssoDomain != null) { >+ cookie.setDomain(ssoDomain); >+ } > response.addCookie(cookie); > > // Register this principal with our SSO valve
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34724
:
14918
|
14971
|
14972
|
14973