Checks if the user has locations associated and if not halts the procedure.
Checks if the user has locations associated and if not halts the procedure.
a UserLocation that has the seesAll boolean and a list of location ids.
Checks if the user can be authenticated through basic http authentication.
Checks if the user can be authenticated through basic http authentication.
Checks if the request has basic authentication headers and if it is a basic auth request. If not, halts the processing of the request and returns an error response. If the request supports basic auth, it is tried.
Gets the username from the authenticated user.
Gets the username from the authenticated user.
Gets the id from the authenticated user.
Gets the id from the authenticated user.
Tries to find a top most location for the current user.
Tries to find a top most location for the current user.
If the user can see all locations, None is returned If the user has locations we search for a top most location and return its id.
a Long if a top most location was found for the user, None otherwise.
Defines how to get a user from a session by its id.
Defines how to get a user from a session by its id.
Returns a tuple with the folder and files inside it that pertain to the mobile plugin.
Returns a tuple with the page, custom plugins present in each custom directory.
Returns an url composed based on the system file path.
Checks if the user has a particular location id within the one he/she can see.
Checks if the user has a particular location id within the one he/she can see.
If the user can see all locations, nothing is done. Otherwise we search for the location id within the user locations.
403 with error response if user doesn't have the required location.
Finds the plugins that correspond to the specified file filter and within the searchRegex.
Finds the plugins that correspond to the specified file filter and within the searchRegex.
List of string representing the paths for the found plugins
Returns a list with the files that match our search criteria
Gets the current user and checks if he has permission to do the specified action.
Gets the current user and checks if he has permission to do the specified action.
that needs to be in the user permissions list.
403 with error response if user doesn't have the required permission.
Checks if the current user is able to see all locations based on its groups.
Checks if the current user is able to see all locations based on its groups.
true if it is able to see all locations, false otherwise
Defines how to register a user in a session, only keeping its id.
Defines how to register a user in a session, only keeping its id.
(Since version 2.1.0) Do not invoke directly. Use withRequest
to change the binding, or request to get the value
(Since version 2.1.0) Do not invoke directly. Use withResponse
to change the binding, or response
to get the value
(Since version 2.1.0) Use servletContext instead
(Since version 2.3) format
now means the same as responseFormat
, responseFormat
will be removed eventually
(Since version 2.1.0) Use status_=(Int) instead