[jboss-as7-dev] Security Domain Config: JASPI vs Classic?
Bill Burke
bburke at redhat.com
Tue Oct 4 10:44:32 EDT 2011
On 10/4/11 10:29 AM, Bill Burke wrote:
> <security-domain name="jmx-console">
> <server-auth-modules>
> <auth-module .../>
> <auth-module-stack .../>
> </server-auth-modules>
>
> <callback-handers>
> <callback-handler class="org.jboss.PasswordPropertyFile>
> <attribute name="user-file">user.properites</attribute>
> </callback-hander>
> </callback-handlers>
> </security-domain>
>
Then, your web.xml could look like this:
<login-config>
<auth-method>JBOSS</auth-method>
<realm-name>jmx-console</realm-name>
</login-config>
And you don't have to do any real configuration from an application
perspective if there are already built in security domains that support
what you want to do.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the jboss-as7-dev
mailing list