views:

1041

answers:

1

Hi,

I want to change the authentication process that is used by the Acegi - Plugin. It should be a completly customized process. Cusotm login form + custom auth method.

Obviously there is only few documentation regarding this topic.

In the book "The Definitive Guide to Grails" it is described for an older version of grails. There the spring/resources.xml is used.

In the new version is a spring/resources.groovy file, where a DSL is used. I don't know how to configure a new AuthenticationManager.

How can i do this?

Thanks for your help

+2  A: 

In respect to the form, you should have a auth.gsp under /grails-wapp/views/login. In respect to authentication, you probably only need to injet a different AuthenticateService in LoginController, which is under /grails-app/controllers/.

Miguel Ping