|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.bryansaunders.jee6divelog.bean.LoginBean
@Named(value="loginBean") @RequestScoped public class LoginBean
Backing Bean for Login Page. Name: loginBean, Scope: Request
| Field Summary | |
|---|---|
static java.lang.String |
FAILURE
Login Failure. |
static java.lang.String |
SUCCESS
Login Success. |
| Constructor Summary | |
|---|---|
LoginBean()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getEmail()
Get the email. |
java.lang.String |
getPassword()
Get the password. |
boolean |
isLoginError()
Get the loginError. |
boolean |
isRememberMe()
Get the rememberMe. |
java.lang.String |
login()
Logs the user in. |
void |
setCredentials(Credentials newCredentials)
Set the credentials. |
void |
setEmail(java.lang.String newEmail)
Set the email. |
void |
setIdentity(Identity newIdentity)
Set the identity. |
void |
setLoginError(boolean newLoginError)
Set the loginError. |
void |
setPassword(java.lang.String newPassword)
Set the password. |
void |
setRememberMe(boolean newRememberMe)
Set the rememberMe. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SUCCESS
public static final java.lang.String FAILURE
| Constructor Detail |
|---|
public LoginBean()
| Method Detail |
|---|
public java.lang.String login()
public boolean isLoginError()
public void setLoginError(boolean newLoginError)
newLoginError - the loginError to setpublic boolean isRememberMe()
public void setRememberMe(boolean newRememberMe)
newRememberMe - the rememberMe to setpublic java.lang.String getEmail()
public void setEmail(java.lang.String newEmail)
newEmail - the email to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String newPassword)
newPassword - the password to setpublic void setIdentity(Identity newIdentity)
newIdentity - the identity to setpublic void setCredentials(Credentials newCredentials)
newCredentials - the credentials to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||