Questo contenuto non è disponibile nella lingua selezionata.
Chapter 9. Configuring Web Applications
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:
- Add the SPNEGO security domain to the
WEB-INF/jboss-web.xmlfile:<jboss-web> <security-domain>java:/jaas/SPNEGO</security-domain> </jboss-web>
<jboss-web> <security-domain>java:/jaas/SPNEGO</security-domain> </jboss-web>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Configure the
login-config.xmlfile to use the SPNEGO authenticator:<login-config> <auth-method>SPNEGO</auth-method> <realm-name>SPNEGO</realm-name> </login-config>
<login-config> <auth-method>SPNEGO</auth-method> <realm-name>SPNEGO</realm-name> </login-config>Copy to Clipboard Copied! Toggle word wrap Toggle overflow The auth-method maps the key used for the authenticator.