Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-125

Security realm cache definitions not possible for LDAP prinicipal to group group loading.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha9
    • 1.0.0.Alpha8
    • Management, Security
    • None

      It's not possible to configure LDAP cache in security realms under "authorization=ldap/group-search=principal-to-group"

      Possible reason:
      The LdapCacheResourceDefinition is not registered under the org.jboss.as.domain.management.security.PrincipalToGroupResourceDefinition

      When I try to add the cache configuration manually to standalone.xml, server doesn't start and reports:

      15:23:44,619 ERROR [org.jboss.as.controller] (Controller Boot Thread) JBAS014629: No resource definition is registered for address [
      ("core-service" => "management"),
      ("security-realm" => "JBossTest"),
      ("authorization" => "ldap"),
      ("group-search" => "principal-to-group"),
      ("cache" => "by-search-time")
      ]
      15:23:44,621 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: