public class DefaultUserFactory extends AbstractUserFactory
frameworkUtils, webFrameworkServiceRegistrySESSION_ATTRIBUTE_EXTERNAL_AUTH, SESSION_ATTRIBUTE_KEY_USER_ID, SESSION_ATTRIBUTE_KEY_USER_OBJECT, USER_GUEST| Constructor and Description |
|---|
DefaultUserFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(javax.servlet.http.HttpServletRequest request,
String username,
String password)
Authentication the user given the supplied username/password
|
org.springframework.extensions.webscripts.connector.User |
loadUser(RequestContext context,
String userId)
Load the user from a store
|
org.springframework.extensions.webscripts.connector.User |
loadUser(RequestContext context,
String userId,
String endpointId)
Load the user from a store
|
getGuestUser, initialiseUser, initialiseUser, initialiseUser, initialiseUsergetApplicationContext, getObjectService, getResourceService, getServiceRegistry, getWebFrameworkConfiguration, setApplicationContext, setFrameworkUtils, setServiceRegistrypublic boolean authenticate(javax.servlet.http.HttpServletRequest request,
String username,
String password)
AbstractUserFactoryauthenticate in interface UserFactoryauthenticate in class AbstractUserFactoryrequest - HttpServletRequestusername - Stringpassword - Stringpublic org.springframework.extensions.webscripts.connector.User loadUser(RequestContext context, String userId, String endpointId) throws UserFactoryException
AbstractUserFactoryloadUser in interface UserFactoryloadUser in class AbstractUserFactorycontext - RequestContextuserId - StringendpointId - StringUserFactoryExceptionpublic org.springframework.extensions.webscripts.connector.User loadUser(RequestContext context, String userId) throws UserFactoryException
AbstractUserFactoryloadUser in interface UserFactoryloadUser in class AbstractUserFactorycontext - RequestContextuserId - StringUserFactoryExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.