Grails and Spring Security

View: New views
1 Messages — Rating Filter:   Alert me  

Grails and Spring Security

by jej2003 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am working on a project where I require X509 Certificates for
authentication and will need to pull the users groups from LDAP.  I
know this is possible in Spring Security, but am running into some
issues configuring this with Grails.  For my testing purpose I was
hoping to be able to use the in memory user-service for testing and
only switching to an LDAP backed implementation when required.  Is
this possible with Grails?  Previously in Spring I would do

  <authentication-provider>
  <user-service>
  <user name="john" password="john" authorities="ROLE_USER" />
  <user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" />
  <user name="guest" password="guest" authorities="ROLE_GUEST" />
  <user name="rod" password="rod" authorities="ROLE_USER" />
  </user-service>
  </authentication-provider>

What do I need to specify in my Security-config.groovy in order to
make this work?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email