Access Manager Basic Authentication fails for SunOne reverse proxy failover.
Originally Published: 2013-09-13
Last Modified: 2023-10-06
Article Number
Applies To
Sun Java System Web Server 7.0
Issue
The Agent log at DEBUG level shows the following events:
2013-09-09 11:38:09 -0400 - [67] - <Info> - Request headers did not return a cookie
and.
2013-09-09 11:38:09 -0400 - [67] - <Info> - Result map: RETURN_CODE\nINVALID_USER\nAUTHENTICATION_RESULT\nINVALID_PASSWORD
Authentication works correctly when all backend application servers are up, but when in failover mode when posting basic authentication headers to the RSA Access Manager agent the initial authentication request succeeds but the browser is redirected to the logon screen.
Cause
Resolution
# This either allows or blocks the setting of the basic authorization
# header 'Authorization:'.This parameter can be set to false in places
# where the Authorization header set by Agent is not required.
# By default,this would be set to True.
#
# Allowed Values:
# True Sets the HTTP basic authorzation header with values.
#
# False The HTTP Basic Authorization header will not be set.
#
#
cleartrust.agent.set_basic_auth_header=False
Workaround
<Object name="default">
<If $path =~ '/servlet' or $path =~ '\.jsp'>
<If not $restarted>
NameTrans fn="map" name="reverse-proxy" from="/" to="http:"
</If>
<If $restarted>
NameTrans fn="map" name="reverse-proxy-alt" from="/" to="http:"
</If>
</If>
</Object>
<Object name="reverse-proxy">
Route fn="set-origin-server" server="<back-end-server>"
# If back end server is not available, restart the request
<If $code =~ 504>
Error fn="restart" uri="$uri"
</If>
</Object>
<Object name="reverse-proxy-alt">
Route fn="set-origin-server" server="<alternate-back-end-server>"
</Object>
<Object ppath="http:*">
Service fn="proxy-retrieve" method="*"
</Object>
Related Articles
How to failover a Citrix NetScaler to an Authentication Manager RADIUS Replica Server 306Number of Views Explanation of the failover.dat file used by RSA Authentication Manager 8.x 238Number of Views Generate the Authentication Manager Configuration File 131Number of Views RSA Authentication Manager Prime throws "Node secret mismatch: cleared on server but not on agent" despite repeated cleari… 535Number of Views How to overcome the RSA Identity Governance & Lifecycle initialization status error when the database schema version is hi… 176Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Manual synchronization introduced in RSA Authentication Manager 8.2 Service Pack 1 patch 6 Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory How to verify NTP server synchronization is not working in RSA Authentication Manager 8.x RSA Governance & Lifecycle 8.0.0 Installation Guide
Don't see what you're looking for?