Skip to content

Update for compatibility with 2.4 #5

Description

@selera

It needs ApplicationHolder replaced with Holders

In src/groovy/grails/ldap/server/TransientGrailsLdapServer.groovy

Around line 63, replace with:

        def baseConfigDirPath = (Holders.grailsApplication.warDeployed) ? Holders.grailsApplication.parentContext.getResource("WEB-INF/grails-app/ldap-servers").file.path : "grails-app/ldap-servers"

Also fix the import to be:

import grails.util.Holders

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions