grails-spring-security-core
grails-spring-security-core copied to clipboard
Grails Spring Security Core Plugin
In a Grails 4 webapp with Spring Security plugin dependency org.grails.plugins:spring-security-core:4.0.0.RC2 in any controller inject dependencies def springSecurityService def sessionRegistry and include this snippet in an action `A`: println 'principal:...
### Task List - [x] Steps to reproduce provided - [x] Stacktrace (if present) provided - [x] Example that reproduces the problem uploaded to Github - [x] Full description of...
### Steps to Reproduce 1. Start example Application and open localhost:8080 2. Navigate to non existing page e.g localhost:8080/blah, you will be redirected the Login Page (as expected) 3. Don't...
See https://docs.spring.io/spring-security/site/docs/current/reference/html5/#concurrent-sessions I've implemented this in our Grails application using a combination of `resources.groovy` and `BootStrap.groovy` using `clientRegisterFilter`, but it seems like it would fit right in with this plugin...
Original Reporter: partridge Environment: app.grails.version=1.3.7 plugins.spring-security-openid=1.0.2 Version: Grails-Spring-Security-Core 1.1.1 Migrated From: http://jira.grails.org/browse/GPSPRINGSECURITYCORE-70 I get a runtime exception using the remember me functionality in the spring security plugin, specifically alngside the...
* User Logged in with Remember Me * Session Times out (usually after 30 minutes) * Left browser window open and proceeds to make Ajax request Request returns a status...
Original Reporter: burtbeckwith Environment: Not Specified Version: Not Specified Migrated From: http://jira.grails.org/browse/GPSPRINGSECURITYCORE-239
AFAIKT, the grails' withForm method is not available when using /j_spring_security_check to log users in. How can we protect our apps from CSRF during login when using grails-spring-security-core? http://docs.spring.io/spring-security/site/docs/current/reference/html/csrf.html#csrf-login Using:...
**Grails: 3.3.2** **grails-spring-security-core: 3.2.0** **Steps to re-produce:** 1. Clone the repo: https://github.com/mamunsrdr/grails-sec-issue 2. Change mysql db config (db name, host. user, pass) in application.yml (doesn't work with h2 as need...
@Secured("FOO_BAR") Let's imagine you have made Voter that wants to make checks for all tokens that starts with "FOO_" Spring security core now makes WebExpressionConfigAttribute's to your custom voters. And...