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
IBM Security Access Manager 9.0 - Web Reverse Proxy Configuration - RSA Ready SecurID Access Implementation Guide 16Number of Views How to resolve the issue of logging proxy server IP address for every request 14Number of Views Jira Functionality Issues When Accessing Through RSA Portal or Reverse Proxy Due to Long URI Handling 8Number of Views Silent discard of authentication requests in RSA Authentication Manager 8.0 and 8.1; Authentication fails without log entry 209Number of Views Error: 'Sd_ApiInit Error Failed to Connect to the serv DB /path/ace/data/sdserv' 24Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA Authentication Manager 8.9 Setup and Configuration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager Patch Updates How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device
Don't see what you're looking for?