Dear,
The following files are from Jboss 5.1.0GA, from an scenario configurated for SSL and client-cert authentication
- certauth-service.xml -
<server> <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name="jboss.security:service=SecurityDomain"> <constructor> <arg type="java.lang.String" value="certauthSecurity"></arg> </constructor> <attribute name="KeyStoreURL">my-truststore.jks</attribute> <attribute name="KeyStorePass">mypass</attribute> <depends>jboss.security:service=JaasSecurityManager</depends> </mbean> </server>
-certauth-citizen-jboss-beans.xml -
<?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="urn:jboss:bean-deployer:2.0"> <application-policy xmlns="urn:jboss:security-beans:1.0" name="certauthSecurity"> <authentication> <login-module code="org.jboss.security.auth.spi.BaseCertLoginModule" flag="required" > <module-option name="password-stacking">useFirstPass</module-option> <module-option name="securityDomain">java:/jaas/certauthSecurity</module-option> <module-option name="verifier">myCertificateVerifierClass</module-option> </login-module> </authentication> </application-policy> </deployment>
How could I translate these files correctly on AS7 ? I've not found clear info about this and I don't understand how to solve it. :-/
I will appreciate any hint