Alex Schroeder Messages: 32 Registered: February 2010 Location: Zürich, Switzerland
In my project, I'm using a copy of the LDAPSecurityFilter to prompt users for username and password before executing an LDAP query to authenticate the user. That part works. The client now wants the last username used to be shown in the LoginDialog upon startup. I think this ought to be the default behaviour (and I've seen it in other Scout projects) but it doesn't work for me. The question is: Where do I start looking?
The .../user/.settings/org.eclipse.scout.rt.client.prefs file does not contain the username (and in the other Scout project I looked at, this was where it was stored). Thus, as far as I can tell, the username is not being cached in the first place.
Assuming I need to write this code myself, I'm looking for some guidance: Will I need to create a copy of the InternalNetAuthenticator (ie. all of the classes in org.eclipse.scout.rt.ui.swing.login.internal) in order to cache the username myself?