FileDocCategorySizeDatePackage
Login.javaAPI DocApache Struts 2.0.9 Apps1445Mon Jul 23 13:43:12 BST 2007mailreader2

Login

public final class Login extends MailreaderSupport

Validate a user login.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Stringexecute()


        User user = findUser(getUsername(), getPassword());

        if (user != null) {
            setUser(user);
        }

        if (hasErrors()) {
            return INPUT;
        }

       return SUCCESS;