public class LoginBean
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected BrowseBean |
browseBean
The BrowseBean reference
|
static java.lang.String |
LOGIN_EXTERNAL_AUTH |
static java.lang.String |
LOGIN_NOPERMISSIONS |
static java.lang.String |
MSG_ERROR_LOGIN_NOPERMISSIONS |
static java.lang.String |
MSG_PASSWORD_LENGTH |
static java.lang.String |
MSG_USER_ERR |
static java.lang.String |
MSG_USERNAME_LENGTH |
protected NavigationBean |
navigator
The NavigationBean bean reference
|
protected UserPreferencesBean |
preferences
The user preferences bean reference
|
| Constructor and Description |
|---|
LoginBean() |
| Modifier and Type | Method and Description |
|---|---|
protected org.alfresco.service.cmr.security.AuthenticationService |
getAuthenticationService() |
java.lang.String |
getLogoutOutcome() |
protected org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
java.lang.String |
getPassword() |
protected org.alfresco.service.cmr.security.PersonService |
getPersonService() |
java.lang.String |
getTeamLoginWarningHTML()
Returns the HTML to display if the system is in TEAM mode
|
java.lang.String |
getUsername() |
java.lang.String |
getUsernameInternal() |
UserPreferencesBean |
getUserPreferencesBean() |
boolean |
isLanguageSelect() |
java.lang.String |
login()
Login action handler
|
java.lang.String |
logout()
Invalidate ticket and logout user
|
void |
setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService) |
void |
setBrowseBean(BrowseBean browseBean) |
void |
setNavigator(NavigationBean navigator) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPassword(java.lang.String val) |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
setUsername(java.lang.String val) |
void |
setUserPreferencesBean(UserPreferencesBean preferences) |
void |
validateMatch(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Validate that field "confirm" matches to the field "password"
|
void |
validatePassword(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Validate password field data is acceptable
|
void |
validateUsername(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Validate Username field data is acceptable
|
public static final java.lang.String MSG_ERROR_LOGIN_NOPERMISSIONS
public static final java.lang.String MSG_USERNAME_LENGTH
public static final java.lang.String MSG_PASSWORD_LENGTH
public static final java.lang.String MSG_USER_ERR
public static final java.lang.String LOGIN_EXTERNAL_AUTH
public static final java.lang.String LOGIN_NOPERMISSIONS
protected BrowseBean browseBean
protected NavigationBean navigator
protected UserPreferencesBean preferences
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
authenticationService - The AuthenticationService to set.protected org.alfresco.service.cmr.security.AuthenticationService getAuthenticationService()
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
personService - The personService to set.protected org.alfresco.service.cmr.security.PersonService getPersonService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - The nodeService to set.protected org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setBrowseBean(BrowseBean browseBean)
browseBean - The BrowseBean to set.public void setNavigator(NavigationBean navigator)
navigator - The NavigationBean to set.public void setUserPreferencesBean(UserPreferencesBean preferences)
preferences - The UserPreferencesBean to setpublic UserPreferencesBean getUserPreferencesBean()
public java.lang.String getLogoutOutcome()
public void setUsername(java.lang.String val)
val - Username from login dialogpublic java.lang.String getUsername()
public java.lang.String getUsernameInternal()
public void setPassword(java.lang.String val)
val - Password from login dialogpublic java.lang.String getPassword()
public boolean isLanguageSelect()
public java.lang.String getTeamLoginWarningHTML()
public void validateMatch(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
javax.faces.validator.ValidatorExceptionpublic void validatePassword(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
javax.faces.validator.ValidatorExceptionpublic void validateUsername(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
javax.faces.validator.ValidatorExceptionpublic java.lang.String login()
public java.lang.String logout()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.