Search

Chapter 9. Configuring Web Applications

download PDF
Once you have configured JBoss Negotiation on your server and the connection to FreeIPA or Active Directory, you need to configure your web application to use JBoss Negotiation authentication.
To configure your web application to use JBoss Negotiation authentication, do the following:
  1. Add the SPNEGO security domain to the WEB-INF/jboss-web.xml file:
    <jboss-web>
      <security-domain>java:/jaas/SPNEGO</security-domain>
    </jboss-web>
    
  2. Configure the login-config.xml file to use the SPNEGO authenticator:
    <login-config>
      <auth-method>SPNEGO</auth-method>
      <realm-name>SPNEGO</realm-name>
    </login-config>
    
    The auth-method maps the key used for the authenticator.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.