returns the user associated with the request the user can be a guest or a authenticated user concode_field_sep String USERNAME_KEY concode_elem_sep String USER_ID_KEY concode_elem_sep String IS_AUTH_KEY concode_elem_sep String IS_ADMIN_KEY concode_field_sep void loginAdmin concode_elem_sep void loginUser concode_elem_sep void logoutUser concode_elem_sep void logoutAdmin concode_elem_sep boolean isAuthenticated concode_elem_sep boolean isAdmin
User function ( Request arg0 ) { if ( isAuthenticated ( arg0 ) ) { return new AuthenticatedUser ( arg0 . session ( ) ) ; } else { return new GuestUser ( ) ; } }