Allow AuthenticationFilter to accept ticket from either Cookie or RequestHeader
Description
AuthenticationFilter currently has: final String ticket = CommonUtils.safeGetParameter(request,getArtifactParameterName());
Sometimes a post does not contain form data, it may contain xml or binary data. In this case the ticket will need to be provided outside the 'payload'.
Possible fixes could look for ticket in a Cookie or RequestHeader.
Environment
None
Activity
ScottS
September 11, 2011 at 3:12 PM
Committed. Please see related commit (it should come up under Activity if FishEye is working and you're logged in). Let me know if that will work for you.
AuthenticationFilter currently has: final String ticket = CommonUtils.safeGetParameter(request,getArtifactParameterName());
Sometimes a post does not contain form data, it may contain xml or binary data. In this case the ticket will need to be provided outside the 'payload'.
Possible fixes could look for ticket in a Cookie or RequestHeader.