Announcement Announcement Module
Collapse
No announcement yet.
Auto Authentication using spring security and grails Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Auto Authentication using spring security and grails

    New to spring security. I have two requirements for login(user authentication) which needs to use spring security with grails.

    1) A new Application, where user will be taken to a login screen, where the username and password will be entered and then authenticated using spring security framework.

    2) User will be logged into the legacy application and will be punched out into the above new application with username and password passed as parameter. Here user should not be taken to login screen rather should be authenticated by spring using the username/password passed as parameter.

    I have achieved the first one by little customization (added one custom authentication provider) and rest by using the ooo spring security and grails.

    How will i do the authentication in the second case.
    Can I write a groovy controller get the parameters and then redirect to /j_spring_security_check?J_username=username&j_pass word=password
Working...
X