Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-92

Security domain not caching when authenticating with JAAS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 6.3.0.GA
    • Security
    • None

    Description

      I have defined the following Infinispan cache container

      <subsystem xmlns="urn:jboss:domain:infinispan:1.5">
      <cache-container name="security" aliases="standard-security-cache" default-cache="auth-cache">
                      <local-cache name="auth-cache" batching="true">
                            <expiration lifespan="10000"/>
                      </local-cache>
                  </cache-container>
      
      

      And the following security domain:

      <security-domain name="modeshape-security" cache-type="infinispan">
                          <authentication>
                              <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
                                  <module-option name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory"/>
                                
      <!-- A lot of module-options here -->
      
                              </login-module>
                          </authentication>
                      </security-domain>
      
      

      But am not seeing any caching happening with regards to authentication, every request is getting forwarded to the LDAP server. Using cache-type="default" does not seem to be caching anything either.

      Authentication is done by ModeShape through JAAS.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wesssel Wessel Nieboer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: