ASF Bugzilla – Attachment 14971 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]
AuthenticatorBase.java patch
AuthenticatorBase.java.diff (text/plain), 1.05 KB, created by
Oliver Rossmueller
on 2005-05-09 16:19:31 UTC
(
hide
)
Description:
AuthenticatorBase.java patch
Filename:
MIME Type:
Creator:
Oliver Rossmueller
Created:
2005-05-09 16:19:31 UTC
Size:
1.05 KB
patch
obsolete
>Index: AuthenticatorBase.java >=================================================================== >RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/AuthenticatorBase.java,v >retrieving revision 1.25 >diff -u -r1.25 AuthenticatorBase.java >--- AuthenticatorBase.java 13 Sep 2004 21:07:43 -0000 1.25 >+++ AuthenticatorBase.java 9 May 2005 14:16:14 -0000 >@@ -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 = sso.getCookieDomain(); >+ >+ 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