...
- Create a user/password file using the htpasswd command:
No Format htpasswd -s /PATH/TO/FILE USERNAME
- Add the following location directive to your Apache httpd configuration
Code Block title Example Apache httpd Location Directive <Location /<CONTEXT_PATH>/Authn/RemoteUser> AuthType Basic AuthName "Identity Provider Authentication" AuthUserFile /PATH/TO/USER/FILE require valid-user </Location>
- Add the following attribute to your AJP connector in the Tomcat server.xml file: tomcatAuthentication="false"
Code Block xml xml title Example Tomcat AJP Connectorxml <Connector address="127.0.0.1" port="8009" protocol="AJP/1.3" enableLookups="false" tomcatAuthentication="false" />