grails 2 « Security « Spring Q&A





1. grails and spring security core plugin - authenticateion from client    stackoverflow.com

i am starting to use spring-security-core-1.1.3 plugin with grails. My application for authentication sends request to server:

def authSomeAction = {
    def req = ...//http requet here
    ...

2. Grails spring Security UI    stackoverflow.com

I’m new to Grails and I’m trying to build a simple help desk application. I want to be able to register a new user, log in, post a request/incident, save it ...

3. Does Spring Security have a 'hasAllRole' that performs the AND version of 'hasAnyRole'    stackoverflow.com

I'm using Spring Security in Grails to restrict access to my controllers. I have a use case where I want to check that a user has multiple roles assigned. ...

4. Internationalization and spring security core    stackoverflow.com

In my application I have spring security core

plugins.spring-security-core=1.0.1
and
app.grails.version=1.3.4
I wanted to Internationalize my application , so on the login page which is presented by
auth view 
I created a drop ...

5. How to save currently logged in user username in domain class?    stackoverflow.com

I want to create new instance of a domain class with one field witch will be the username of currently logged in user. I'm using Spring security & Spring Security UI. ...

6. GRAILS: spring-security-core plugin and locale    stackoverflow.com

All! I'm working with internationalized application and language is used as first path parameter.

http://domain.com:8080/app/en/controller/action/id
http://domain.com:8080/app/de/controller/action/id
http://domain.com:8080/app/fr/controller/action/id
and so on... Here is my UrlMappings:
class UrlMappings {

static mappings = {

    name login:    ...

7. GSP if test returning false while checking if a logged user with Spring Security Core Plugin is the creator of a domain class instance    stackoverflow.com

I am using Spring security core plugin. I want to test if the logged user is the creator of a Note. Note is Grails domain class. Note.creator is User ...

8. spring security in grails    stackoverflow.com

I am using spring security in grails and need authenticate (a) customer in my Customer class and I don't want use Role class or such a thing just want use authentication ...

9. Restrict access by time with spring security in grails application    stackoverflow.com

I'm looking for the way to restrict users access by time in my grails application. I mean that users will be able to use (not only login) application only in allowed ...





10. STS 2.5.2 bugs with spring security core plugin?    forum.springsource.org

STS 2.5.2 bugs with spring security core plugin? Greetings, I don't know if there is a more proper avenue for this post though I thought I would throw it up to ...

11. STS 2.5.2 - Grails plugin issue (spring security)    forum.springsource.org

STS 2.5.2 - Grails plugin issue (spring security) Greetings, I don't know if there is a more proper avenue for this post though I thought I would throw it up to ...

12. spring security error    forum.springsource.org

spring security error Hello, I've install spring-security-core plugin in my grails application. when I start application in debug mode it works fine. but at start in compiled state (*.war file) at ...

13. Issue with spring security plugin event callbacks    forum.springsource.org

Issue with spring security plugin event callbacks I created a property called lastLogin in my User domain-class that extends the AuthUser class from the spring security plugin. I want to update ...

14. Trying to import grails sample ACL/Spring Security project    forum.springsource.org

Trying to import grails sample ACL/Spring Security project I am using STS 2.6.1, with all the latest grails updates applied. I am trying to follow the ACL plugin tutorial (http://burtbeckwith.github.com/grail...ual/index.html), which ...

15. Grails & Spring security troubles, looking for some insights?    forum.springsource.org

Grails & Spring security troubles, looking for some insights? Hello all, Yesterday I started upgrading our Grails app from Acegi plugin 0.5.2 to the Spring security plugin. I'm running into a ...

16. Spring-security-acl plugin : table not found in production mode.    forum.springsource.org

Spring-security-acl plugin : table not found in production mode. Hi, I have an app that uses the spring-security-acl plugin and works fine in dev mode. However, in production mode, just after ...





17. Grails spring-security-core auth issues    forum.springsource.org

Grails spring-security-core auth issues Hi all- I've created a new application and installed spring-security-core and spring-security-ui. I ran s2-quickstart and created the MyUser and MyRole classes. The application creates a couple ...

18. spring-security-ui on 2.0.0.RC3 transitive-metadata warning and webxml error    forum.springsource.org

spring-security-ui on 2.0.0.RC3 transitive-metadata warning and webxml error While testing 2.0.0.RC3, I'm not able to install and use spring-security-ui plugin. During installation into a fresh grails-2.0.0.RC3 project, I receive: Code: grails ...

19. Grails & acegi question    forum.springsource.org

May 7th, 2009, 07:43 PM #1 csspring View Profile View Forum Posts Private Message Junior Member Join Date May 2009 Posts 1 Grails & acegi question Hi, I don't know if ...

20. how to contribute a fix to Grails Spring Security Plugin    forum.springsource.org

how to contribute a fix to Grails Spring Security Plugin I came across what looks to be a bug in the Spring Security (Acegi) plugin for Grails. The plugin allows you ...

21. Grails Security plugin    forum.springsource.org

Grails Security plugin I currently have the acegi plugin working with my grails app. I've added a field to the user to track if the user has confirmed their email address. ...

22. grails + acegi + internet explorer    forum.springsource.org

grails + acegi + internet explorer Hi, I have a problem with my app in grails + acegi plugin. i did everything according with this tutorial Every thing works fine on ...

23. Grails, Spring Security and the "enabled" field    forum.springsource.org

When using Grails 1.1.2, and the Spring Security (Acegi) plugin, if a user's "enabled" field is set to false, the user is still able to log in. Shouldn't it be that ...

24. Configuring Spring Security Core Plugin    forum.springsource.org

I'd like to secure my grails application with the spring-security-core and spring-security-cas plugins. However, I'm unsure how to map my db tables to the 3 required domain classes. Can anyone suggest ...

25. Can I configure the password format in the Spring Security Plugin?    forum.springsource.org

I am new to the Spring Security plugin - is there a way to do this? i.e., require the password to be alphanumeric, or a phrase, via a regex or something? ...

26. Spring Security UI Question    forum.springsource.org

Spring Security UI Question I recently installed the Spring Security UI plugin. Upon starting the app, I received "the following plugins failed to load due to missing dependencies: [springSecurityUi]" error as ...

27. Unable to install Spring Security plug-in    forum.springsource.org

Sep 27th, 2010, 03:42 AM #1 tnabil View Profile View Forum Posts Member Join Date Feb 2005 Posts 30 Unable to install Spring Security plug-in Hi, I tried to install the ...

28. Spring Security Core custom user/roles underlyning DB structure    forum.springsource.org

Spring Security Core custom user/roles underlyning DB structure Hi all, I have a custom DB schema which doesn't fit the USER/ROLES standard domain object that grails require. I cannot edit the ...

29. STS and Spring Security Plug-in    forum.springsource.org

STS and Spring Security Plug-in Hi, I installed the Spring Security plug-in in my application and then ran the s2-quickstart script. After running the script, I noticed two things: 1- The ...

30. Spring Security Plug-in: More flexibility    forum.springsource.org

Spring Security Plug-in: More flexibility Hi, I'm starting with the security plug-in but my requirements are a bit different from the out-of-the-box approach. I'd like to add another level of flexibility ...

31. Spring Security Plug-in: ROLE_ prefix mandatory?    forum.springsource.org

Hi, I was experimenting with the security plug-in and things were just not working. Whenever I hit the secured controller, I would get the error: Code: EL1008E:(pos 0): Field or property ...

32. Many-to-many relation for spring-security-core users/roles    forum.springsource.org

I would like to be able to modify the roles assigned to a user from the user edit/create page. Is there a way to define the User domain class such that ...

33. Grails - Spring Security Check Error    forum.springsource.org

Hello all, I have used Grails and built an application and everything works fine. But the first time I login into the application on any day, I get a j_spring_security_check error. ...