jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: jaas authentication
Date Wed, 12 Jul 2006 15:26:46 GMT
El mar, 11-07-2006 a las 22:16 +0200, Michael Singer escribió:
> Hi all,
> 
> has anybody already tried to integrate jboss jaas authentication with
> jackrabbit authentication? I mean authenticate once and share the
> security information?

You should add this policy to login-config.xml configuration:

    <application-policy name = "Jackrabbit">
       <authentication>
          <login-module
code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag =
"required">
           <module-option
name="usersProperties">users.properties</module-option>
           <module-option
name="rolesProperties">roles.properties</module-option>
          </login-module>
          <login-module code="org.jboss.security.ClientLoginModule"
flag="required" />
       </authentication>
    </application-policy>


-- 
Paco Avila <pavila@git.es>


Mime
View raw message