-
Nov 29th, 2011, 05:09 PM
#1
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'>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules