|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuserman.LoginBean
@Named @RequestScoped public class LoginBean
This is the bean class supporting logging into and registering with the application.
| Constructor Summary | |
|---|---|
LoginBean()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Getter for the name property. |
java.lang.String |
getPassword()
Getter for the password property. |
java.lang.String |
getPasswordConfirm()
Getter for the passwordConfirm property. |
boolean |
isConfirmNotMatched()
Getter for the confirmNotMatched property. |
boolean |
isNameInUse()
Getter for the nameInUse property. |
boolean |
isNameNotFound()
Getter for the nameNotFound property. |
boolean |
isPasswordNotMatched()
Getter for the passwordNotMatched property. |
java.lang.String |
login()
Action method called when the user chooses to login. |
java.lang.String |
logout()
Action method called when the user chooses to logout. |
java.lang.String |
register()
Action method called when the user chooses to register for the website. |
void |
setName(java.lang.String name)
Setter for the name property. |
void |
setPassword(java.lang.String password)
Setter for the password property. |
void |
setPasswordConfirm(java.lang.String passwordConfirm)
Setter for the passwordConfirm property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoginBean()
| Method Detail |
|---|
public java.lang.String login()
public java.lang.String logout()
public java.lang.String register()
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLExceptionpublic boolean isNameInUse()
public boolean isNameNotFound()
public boolean isPasswordNotMatched()
public boolean isConfirmNotMatched()
public void setName(java.lang.String name)
name - the submitted user namepublic java.lang.String getName()
public java.lang.String getPassword()
public java.lang.String getPasswordConfirm()
public void setPassword(java.lang.String password)
password - the submitted passwordpublic void setPasswordConfirm(java.lang.String passwordConfirm)
passwordConfirm - the submitted confirm password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||