Red Hat Bugzilla – Bug 246218
Is public static final String AUTH_COOKIE_NAME needed?
Last modified: 2008-04-02 20:18:39 EDT
Description of problem:
I was investigating the request from
By grepping the SVN for 'rh_auth_token', I found it used in
java/code/src/com/redhat/rhn/frontend/struts/RhnHelper.java: public static
final String AUTH_COOKIE_NAME = "rh_auth_token";
static final String AUTH_COOKIE_NAME = "rh_auth_token";
But AUTH_COOKIE_NAME is not to be found anywhere else. Should we be able to
remove it from the source code? The problem reported in that mailing-list post
is no longer present on Satellite 5.0.0, so I assume we've removed the use of
these but not the declaration.
Version-Release number of selected component (if applicable):
SVN trunk as of today (revision 117910).
Looked at the source code.
Steps to Reproduce:
1. Grepped the source AUTH_COOKIE_NAME.
In the Java code, it is only found in frontend/struts/RhnHelper.java and
frontend/struts/RequestContext.java as declarations. It does not seem to be used
Reassigning to myself.
This got all three acks so I assume we want this change to happen.
Committed to SVN, trunk, revision 132727.
Moving ON_QA, with:
Satellite 5.1.0-14 Content now available in qa Channels.
Satellite 5.1.0-14 ISOs are now available as
Fetch the rhn-java-sat.src.rpm, install it, go to the SPECS directory, run rpm
-bp ....spec, go to SOURCES directory, grep -r the source and see if that string
adelton Preethi_afk: ^^^ would approximately be the way I'd do it.
adelton Preethi_afk: s/rpm -bp/rpmbuild -bp/
5.1 Sat GA so Closed for Current Release.