Skip to content

Instantly share code, notes, and snippets.

@hamnis
Created May 28, 2013 06:04
Show Gist options
  • Save hamnis/5660749 to your computer and use it in GitHub Desktop.
Save hamnis/5660749 to your computer and use it in GitHub Desktop.
If you for any reason find yourself in need of using jboss; don't. But if you have to, and using basic auth.
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>/some-context-path</context-root>
<security-domain>ldap</security-domain>
<valve>
<class-name>org.apache.catalina.authenticator.BasicAuthenticator</class-name>
<param>
<param-name>disableProxyCaching</param-name>
<param-value>false</param-value>
</param>
</valve>
</jboss-web>
@alexcom
Copy link

alexcom commented Jun 25, 2015

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment