Questions tagged [jsecurity]
10 questions
6
votes
4 answers
Grails security
Which is the best security solution for grails among acegi, jsecurity and Stark security?
Joshua Kamau
5
votes
2 answers
Implementation of “remember me” in a Grails application
How do I implement a "Remember Me" function in Grails so that the user can check it and he won't have to log in again for 2 weeks?
I'm using the jSecurity plugin and want to change the cookie's lifetime beyond the browser session.
anon
5
votes
3 answers
Java options for web user authentication
I'm looking for a secure user login/session management component for a public web app. Spring Security seems to have potential, are there any other high quality alternatives?
Conceptually this is easy and we currently have code that works fine,…

Jerry B
- 193
- 1
- 1
- 7
2
votes
1 answer
Traditional Auth, Facebook Connect & Grails
I am writing an app which needs to have both the traditional form of user auth, and Facebook Connect. I am using groovy/grails for this application.
Grails luckily has JSecurity plugin, Acegi Plugin and Facebook Connect. The Acegi plugin claims to…

Langali
- 3,189
- 7
- 38
- 45
2
votes
1 answer
Run code in Hibernate Filters
I have a fairly sophisticated security mechanism that I implemented using Apache Shiro (formerly JSecurity). In order to know the exact visibility rules for an object, I need to run some code (i.e. lookup user's roles, permissions, groups, etc). …

Jean Barmash
- 4,788
- 1
- 32
- 40
1
vote
1 answer
Grails Jsecurity plugin: Increase session timeout
I am using Jsecurity plugin version 0.3 with grails 1.1.
I need to increase the session timeout for users.
Any clue how i should go about this?
Himanshu Seth
1
vote
1 answer
jSecurity JDBCRealm SQL setup
I am trying to use jSecurity for an enterprise java app, but the documentation is...well...lacking.
Has anyone out there in SO-land been able to get the JDBCRealm setup, and if so did you find a SQL setup script or did you just derive it on your…

javamonkey79
- 17,443
- 36
- 114
- 172
1
vote
2 answers
request.isUserInRole("ADMIN") also returns true for user not in role ADMIN but role USER
I'm currently trying out the JDBCRealm in Glasshfish v3:
I have 2 roles USER and ADMIN.
I have a LoginServlet that redirects to a url (say /admin or /user) based on the request.isUserInRole("ADMIN") method.
Problem is when a ADMIN is logged in it…

Michael Bavin
- 3,944
- 6
- 31
- 35
0
votes
1 answer
grails webflow notserializableexception
Grails upgrade from 1.3.7 to Grails 2.1.0.
Grails run-app executed. No errors.
Call to webflow action throws GrailsExceptionResolver error. States a grails webflow object isn’t serializable. I have navigated all classes to ensure all have…

Michael Garcia
- 1
- 3
0
votes
1 answer
jsecurity : how to setup permission from database?
I'm using Jsecurity plugins on Grails and I would like to know how to setup permission for each page from the database if possible.
it's like to store the following rules:
/home/edit/* for Admin /home/*
for Users /administrator/* for Admin
…

nightingale2k1
- 10,095
- 15
- 70
- 96