Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Security config path change #26

Open
ross-oreto opened this issue Jun 13, 2014 · 1 comment
Open

Spring Security config path change #26

ross-oreto opened this issue Jun 13, 2014 · 1 comment

Comments

@ross-oreto
Copy link

Spring security plugin now uses a config of 'grails.plugin.springsecurity'. Notice plugin is no longer plural.

so this code block in CorsGrailsPlugin.groovy needs to be updated.

    if (application.config.grails.plugins.springsecurity?.useBasicAuth) {
        basicAuthenticationEntryPoint(CorsCompatibleBasicAuthenticationEntryPoint) { bean ->
            realmName = application.config.grails.plugins.springsecurity.basic.realmName
        }
    }
@santojon
Copy link

The problem is solved. I'm using version 1.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants