Re: [Acegisecurity-developer] wrong username/password problem

2009-01-18 Thread Burt Beckwith
You should be asking this question on the Grails User list - 
http://grails.org/Mailing+lists.

It sounds like you're using dbCreate='create-drop' in DataSource.groovy. If you 
want to retain data between server restarts, either use dbCreate='update' or 
leave out the dbCreate parameter entirely and manually update your schema.

-- 
Burt

On Sunday 18 January 2009 9:58:12 pm Kerwin Tang wrote:
 Hi Ray,
 
 On Fri, Jan 16, 2009 at 7:10 PM, Ray Krueger raykrue...@gmail.com wrote:
 
  On Fri, Jan 16, 2009 at 2:52 AM, Kerwin Tang kerwint...@gmail.com wrote:
   Hi guys,
  
   I've tried to integrate acegi with my grails application and i've
   encountered a problem where i'm stuck.
 
  Did you use the AcegiSecurity Plugin for Grails?
 
 Yes.. sorry if i didn't mention it.
 
 
 
  
   I was able to set it up such that i am able to create user records, save
   them to the database, and login successfully using those records.
  However,
   once i try to restart my grails app, the username/password combination
   cannot login successfully now, even though the records are indeed in the
   database.
  
   I'm thinking it's probably caused by some inconsistency in the
   encryption/decryption of passwords, but i'm not really that familiar. Any
   help will be appreciated. Thanks!
 
  Do you have a PasswordEncoder setup co correctly? Meaning that you're
  passiong the same instance of it to all the necessary parts?
 
 yes.. after checking and re-checking, it seems the problem was caused by the
 authority_user table being truncated i.e. all records are deleted on
 startup.. that's why the error was encountered user [user] has no
 GrantedAuthority..
 
 Do you have an idea why the authority_user table is being truncated on boot?
 The only content of init method in my bootstrap config file is:
 
 def init = { servletContext --
  new Requestmap(url:/project/**,configAttribute:ROLE_USER).save()
  new Requestmap(url:/issue/**,configAttribute:ROLE_USER).save()
  new Requestmap(url:/home/**,configAttribute:ROLE_USER).save()
 }
 
 def destroy = {
 }
 
 Thanks for your help.
 
 Best regards,
 Kerwin
 
 
 
  
   Best Regards,
   Kerwin
  
  
  --
   This SF.net email is sponsored by:
   SourcForge Community
   SourceForge wants to tell your story.
   http://p.sf.net/sfu/sf-spreadtheword
   ___
   Home: http://acegisecurity.org
   Acegisecurity-developer mailing list
   Acegisecurity-developer@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
  
  
 
 
  --
  This SF.net email is sponsored by:
  SourcForge Community
  SourceForge wants to tell your story.
  http://p.sf.net/sfu/sf-spreadtheword
  ___
  Home: http://acegisecurity.org
  Acegisecurity-developer mailing list
  Acegisecurity-developer@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 
 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] (no subject)

2008-12-22 Thread Burt Beckwith
That's the correct URL for the core, 
https://src.springframework.org/svn/spring-security/branches/2.0.x-branch is 
the url for the whole branch. There's a SSL certificate mismatch - that's 
probably confusing your client. I use Eclipse and it prompted me to keep the 
mismatched certificate and I'm able to see the whole repo.

-- 
Burt

On Monday 22 December 2008 8:28:24 pm Andrew Wang wrote:
 Hello,
 
 Can somebody tell me how to build acegi?
 I am trying to follow this link 
 http://static.springframework.org/spring-security/site/building.html
 Build immediately i found the url is wrong, I use browser to figure out that 
 should be 
 https://src.springframework.org/svn/spring-security/branches/2.0.x-branch/core/
 But still svn client can not reach the url, some thing wrong with my svn? 
 What's a proper step by step instruction?
 
 Thanks
 Andrew

--
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] OpenID sample

2008-04-18 Thread Burt Beckwith
Is there a working OpenID example app available? I attempted to implement a 
small test app and also tried the sample in SVN but in both cases I get an 
exception because of redirects (for j_spring_openid_security_check) and a 
message Realm verification failed for: ...

I can run a sample app from the openid4java to work fine, and it looks like 
it's fairly similar to the Acegi approach (except of course for the Acegi 
filter chain integration).

Burt

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer