| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.AbstractForm
org.springframework.richclient.security.LoginForm
public class LoginForm
This class provides a simple form for capturing a username and password from the user.
 It also generates an Authentication token from the entered values.
getAuthentication()| Field Summary | 
|---|
| Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor | 
|---|
| logger | 
| Constructor Summary | |
|---|---|
| LoginForm()Constructor. | |
| Method Summary | |
|---|---|
| protected  JComponent | createFormControl()Construct the form with the username and password fields. | 
| protected  LoginDetails | createLoginDetails()Create the form object to hold our login information. | 
|  org.springframework.security.Authentication | getAuthentication()Get an Authentication token that contains the current username and password. | 
|  boolean | requestFocusInWindow() | 
|  void | setPassword(String password)Set the password in the form. | 
|  void | setUserName(String userName)Set the user name in the form. | 
| Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory | 
|---|
| createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton | 
| Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor | 
|---|
| getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.springframework.richclient.factory.ControlFactory | 
|---|
| getControl | 
| Constructor Detail | 
|---|
public LoginForm()
| Method Detail | 
|---|
public void setUserName(String userName)
userName - to installpublic void setPassword(String password)
password - to installpublic org.springframework.security.Authentication getAuthentication()
protected LoginDetails createLoginDetails()
protected JComponent createFormControl()
createFormControl in class AbstractFormpublic boolean requestFocusInWindow()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||