ROLE « grails « Java Enterprise Q&A

Home
Java Enterprise Q&A
1.activemq
2.Ant
3.aspectj
4.axis
5.cxf
6.deploy
7.Development
8.ear
9.eclipse
10.ehcache
11.ejb
12.flex
13.grails
14.jax
15.jaxb
16.JBoss
17.jbpm
18.jdo
19.jersey
20.jetty
21.jms
22.jmx
23.jndi
24.junit
25.ldap
26.Library
27.log4j
28.netbeans
29.osgi
30.playframework
31.portlet
32.quartz
33.rabbitmq
34.restful
35.security
36.Session
37.soap
38.tapestry
39.Web Service
40.weblogic
41.websphere
42.wicket
43.workflow
44.wsdl
Java Enterprise Q&A » grails » ROLE 

1. Generated PersonController expects Authority to contain word ROLE    stackoverflow.com

I'm brand new to acegi and relatively new to Grails. I just followed the tutorial to set up a new role and a new user. Every time I saved the ...

2. Why does registering a new user using the ACEGI plugin for GRAILS give a "Default Role not found." error    stackoverflow.com

Perhaps put a different way, how do I set up a default security role for newly registered users in Grails using teh ACEGI plug-in? I have followed the acegi/grails tutorial

3. Assigning roles programmatically in grails using acegi    stackoverflow.com

could someone provide me with a snippet that assigns a given existing acegi role (Authority) to a Person in Grails ? Thanks.

4. update on acegi roles for user?    stackoverflow.com

If a loggedin user gets a new role, what does he has to do to get all permissions based on this role?

  • logout and login again does not work
  • reassign the roles with ...

5. Any easy way to delete a user (having many to many relation with role) in acegi, grails?    stackoverflow.com

In default acegi setting, person and authority have many to many relations. Thus, in addtion to people and authorities, there is a table authotiries-people. To delete a person (a user) I ...

6. Grails Acegi security: Problem with roles and access    stackoverflow.com

sad end to this story

Well, as it turns out, the compareTo method in my Role class (Role implements GrantedAuthority) was returning always 0. So each user had only one role (since ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.