Uses of Class
com.jfw.authentication.UserData

Packages that use UserData
com.jfw.authentication Manage user authentication, authorization and profiling. 
com.jfw.examples Examples of use of JFW classes. 
com.jfw.status.struts JFW administration console actions for Struts 1.x. 
com.jfw.status.struts2 JFW administration console actions for Struts 2.x. 
com.jfw.web.struts The classes in this package act as gateway for Struts 1.x classes. 
com.jfw.web.struts2 The classes in this package act as gateway for Struts 2.x classes. 
 

Uses of UserData in com.jfw.authentication
 

Methods in com.jfw.authentication that return UserData
 UserData Authentication.authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          User authentication.
static UserData Authentication.getUserDataFromCookie(javax.servlet.http.HttpServletRequest request)
          Get user credentials from the authentication cookie.
static UserData Authentication.getUserDataFromDB(java.lang.String username, java.lang.String password, java.lang.String userId)
          Call method Authentication.getUserDataFromDB(String,String,String,HashMap), the value of parameter outputdata is null.
static UserData Authentication.getUserDataFromDB(java.lang.String username, java.lang.String password, java.lang.String userId, java.util.HashMap outputdata)
          Get user data from database.
static UserData AuthenticationCookie.read(javax.servlet.http.HttpServletRequest request)
          Use method AuthenticationCookie.read(javax.servlet.http.HttpServletRequest, java.lang.String).
static UserData AuthenticationCookie.read(javax.servlet.http.HttpServletRequest request, java.lang.String cookieName)
          Read authentication cookie.
 

Methods in com.jfw.authentication with parameters of type UserData
static void Authentication.addUserDataInCookie(javax.servlet.http.HttpServletResponse response, UserData userData)
          Create a cookie with username and user id.
static void Authentication.addUserDataInSession(javax.servlet.http.HttpSession session, UserData userData)
          Add in session: the UserData object with key Authentication.USER_DATA_IN_SESSION_KEY the UserProfile object with key Authentication.USER_PROFILE_IN_SESSION_KEY.
 int Authorization.authorize(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, UserData userData)
          User authorization.
static int Authorization.checkUserServicePermission(java.lang.String serviceName, UserData userData)
          Check in database if user can execute a service.
static void AuthenticationCookie.write(javax.servlet.http.HttpServletResponse response, UserData userData)
          Use method AuthenticationCookie.write(javax.servlet.http.HttpServletResponse, com.jfw.authentication.UserData, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int).
static void AuthenticationCookie.write(javax.servlet.http.HttpServletResponse response, UserData userData, java.lang.String cookieName, java.lang.String cookieDomain, java.lang.String cookiePath, java.lang.String cookieSecure, int cookieAge)
          Write authentication cookie.
 

Uses of UserData in com.jfw.examples
 

Methods in com.jfw.examples with parameters of type UserData
protected  int PrototypeProjectAction.isAuthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, UserData userData)
           
 

Uses of UserData in com.jfw.status.struts
 

Methods in com.jfw.status.struts with parameters of type UserData
protected  int AdministrationAction.isAuthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, UserData userData)
          Return always AUTHORIZE_ALL.
 

Uses of UserData in com.jfw.status.struts2
 

Methods in com.jfw.status.struts2 with parameters of type UserData
protected  int AdministrationAction.isAuthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, UserData userData)
          Return always AUTHORIZE_ALL.
 

Uses of UserData in com.jfw.web.struts
 

Methods in com.jfw.web.struts that return UserData
protected  UserData JFWAction.getUser(javax.servlet.http.HttpServletRequest request)
          Get UserData from session.
 

Methods in com.jfw.web.struts with parameters of type UserData
protected abstract  int JFWAction.isAuthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, UserData userData)
          Implements the authorization process.
protected  void JFWAction.setUserDataInOutputData(java.util.HashMap outputdata, UserData userData)
          Set the UserData and UserProfile in outputdata under keys JFWCommonAction.USER_DATA_IN_REQUEST_KEY and JFWCommonAction.USER_PROFILE_IN_REQUEST_KEY.
 

Uses of UserData in com.jfw.web.struts2
 

Methods in com.jfw.web.struts2 that return UserData
protected  UserData JFWAction.getUser(javax.servlet.http.HttpServletRequest request)
          Get UserData from session.
 

Methods in com.jfw.web.struts2 with parameters of type UserData
protected abstract  int JFWAction.isAuthorized(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, UserData userData)
          Implements the authorization process.
protected  void JFWAction.setUserDataInOutputData(java.util.HashMap outputdata, UserData userData)
          Set the UserData and UserProfile in outputdata under keys JFWCommonAction.USER_DATA_IN_REQUEST_KEY and JFWCommonAction.USER_PROFILE_IN_REQUEST_KEY.