Announcement Announcement Module
Collapse
No announcement yet.
Grails LDAP security - get password Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Grails LDAP security - get password

    How can I get the password entered on the login webform prior to posting the auth request to config.apf.filterProcessesUrl?

    From the LDAP example, there is an auth controller and view that are set up to post the authentication request to spring security but this setup doesn't let me see the password. I'm not using domain classes such as SecUser... all i need is to grab the password from the webform after a login succeeds but spring security is so "configurable", i have no idea how!


    def auth = {
    ...
    String postUrl = "${request.contextPath}${config.apf.filterProcesse sUrl}"
    render view: view, model: [postUrl: postUrl,
    rememberMeParameter: config.rememberMe.parameter]
    }

    from auth.gsp:
    <form action='${postUrl}' method='POST' id='loginForm' class='cssform' autocomplete='off'>
Working...
X