groovy « Security « Spring Q&A





1. Grails 1.0.4 with Acegi 0.4.1 upgraded to Grails 1.1 and Acegi 0.5.1 with problems!    stackoverflow.com

I upgraded my Grails 1.0.4 application to 1.1. I also upgraded from acegi 0.4.1 to 0.5.1! I had some problems but i'm working on it and i think this is my last ...

2. Security Reinforcement: How to collect visitors' IP addresses in Grails Framework?    stackoverflow.com

How to make a logging list of Users' IP addresses, should this be done via tomcat or grails or a combination of both

3. Grails - access only for object's owner    stackoverflow.com

I'm still working on my first Grails application. This time, my problem is to limit access to some actions for particular users. Assume users add some object, e.g. books. I would like ...

4. Grails Secure Login Design Questions along with Library & DB Choice    stackoverflow.com

Am planning on building user administration module using Grails and the Spring Security Core plug-in for Grails. Also, am considering using MongoDB for the database system. Question(s): (1) What trade offs and benefits will ...

5. What are my options for securing Spring Security UI?    stackoverflow.com

I'm using the default securityConfigType which is set to use annotations.
What are my options for securing Spring Security UI controllers themselves? Do I need to use s2ui-override on all of the controllers ...

6. How to configure Multi-tenant plugin as single-tenant with Spring security plugin as resolver?    stackoverflow.com

I can create a secure, multi-tenant web app with Grails by :

  • setup spring security plugin,
  • setup Multi-tenant plugin (via multi-tenant install and multi-tenant-spring-security)
  • update config.groovy : tenant { mode = ...

7. grails spring-security-core plugin does not make under intellij idea 9/10    stackoverflow.com

I've been playing with the grails framework lately with idea and everything has gone well until I stalled the spring-security-core grails plugin. The plugin and project work fine when using grails ...

8. Excluding plugins from Cobertura reports in Grails    stackoverflow.com

I'm using SpringSecurity plugin in my project and also Cobertura plugin for code coverage reports. The thing is I'd like the SpringSecurity specific classes (login and logout controllers, persistent login token ...

9. Update User's lastLogin property after login    stackoverflow.com

my user-domain has a field called 'lastLogin' which i want to update after login (self-exaplantoy). after restarting tomcat (dev env) i get the following exception: groovy.lang.MissingMethodException: No signature of method: static photoo.user.User.findById() is ...





10. Grails, Spring Security LDAP Plugin    stackoverflow.com

I'm trying to get the LDAP plugin work. I only want a LDAP authentication against an Active Directory but it seems that I'm missing something. Config

grails {
    plugins ...

11. Spring Security and Grails - customizing URLS    stackoverflow.com

In a current Grails app I'm working on all my account management now happens under an account controller which I would like to keep all those actions mapped under the /account/* ...

12. Grails, upgrading from Acegi to Spring security plugin    stackoverflow.com

Yesterday I started upgrading our Grails app from Acegi plugin 0.5.2 to the Spring security plugin. I'm running into a few issues, maybe anyone can help here? After making the necessary changes ...

13. Why can't i login with spring security and weceem plugin installed in grails framework 1.3.7    stackoverflow.com

I'm working on a nearly clean grails 1.3.7 project with weceem 1.0RC2, spring-security-core 1.1.3, spring-security-ui 0.1.2, weceem-spring-security 1.0 and their dependencies installed. Everything works fine except the user login. When I want ...

14. how to add users in spring security core    stackoverflow.com

I just added the spring security plugin to my grails application. I have a question about adding users and their associated roles. I am able to do it correctly ...

15. What is the best approach to collect/define lastvisited information in Grails/spring security?    stackoverflow.com

What is the best practice or approach to get lastvisited information for an user in Grails? For user login, I am using spring security and I want to show few junks ...

16. How to prompt the user after two failed login attempts in Grails Spring-Security powered app?    stackoverflow.com

The login requirement for our Grails app is that after two failed login attempts, the user is prompted with a new question right below the fields asking if the user forgot ...





17. How to show the auth page if the URL doesn't contain extra path?    stackoverflow.com

I use Spring security plugin for our Grails application.
How to show the authentication page if the user typed the URL without any extra path, for example: http://localhost:8080/OurGrails ...

18. override method of Grails plugin bean    stackoverflow.com

The Spring Security plugin provides a bean named 'springSecurityService' of type grails.plugins.springsecurity.SpringSecurityService. I need to override the getCurrentUser method of this service. I first tried to do it using extension

class CustomSecurityService extends ...

19. how to avoid a automatic logout using spring security    stackoverflow.com

i'm fighting with a strange problem using the spring security core plugin. after a successful login clicking on any secured link causes a automatic logout of the current user. it's very ...

20. authorisation with Spring Security Grails plugin    stackoverflow.com

Background

I'm using the Spring Security Grails plugin. Because my User and Role classes are not GORM objects, I I've replaced the UserDetailsService provided by the plugin with my own implementation:
class ...

21. No signature of method: static org.springframework.security.oauth.User.withTransaction()    stackoverflow.com

i have a problem is shown below;

groovy.lang.MissingMethodException: No signature of method:
    static org.springframework.security.oauth.User.withTransaction() is applicable for argument types:
    (org.springframework.security.oauth.services.UserService$_saveUser_closure1) values:
    [org.springframework.security.oauth.services.UserService$_saveUser_closure1@2ed1e8 at ...

22. Domain classes in grails    stackoverflow.com

How to make relationship between two domain classes in grails . I already have one domain class from the plugin (spring security plugin) and i want to link USER domain class ...

23. Error executing script CreateAuthDomains: null\scripts\Init.groovy (The system cannot find the path specified)    stackoverflow.com

I am trying to build an app that makes use of the acegi and multitenant-plugin in grails. I am following the instructions from this tutorial: http://ridingthetiger.wikia.com/wiki/Creating_a_Secure,_Multi-Tenant_Web_App_with_Grails however when I get to ...

24. making a redirect url global    stackoverflow.com

I have a grails-groovy app and I want to redirect the user to the login/logout page after he clicks a button in the app, but the session has already expired. Right now ...

25. spring security config giving error on server startup    stackoverflow.com

Hi I have created a security-app-context.xml for my grails/groovy app. It is as follows:

<beans:beans xmlns="http://www.springframework.org/schema/security"
    xmlns:beans="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans 
    ...

26. installing Groovy/Grails support on closed/secure networks?    forum.springsource.org

installing Groovy/Grails support on closed/secure networks? The "STS 2.3.1 and Groovy/Grails support" FAQ (http://forum.springsource.org/showthread.php?t=79533) states that "In this release of STS, both the groovy and grails support must be installed through ...