Class TokenAuthenticationServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class TokenAuthenticationServlet
    extends javax.servlet.http.HttpServlet
    Servlet that allows to get a unique authentication token given the request Principal and some device information passed as request parameters: application name, device id, device description, permission. An error response will be sent with a 400 status code if one of the required parameters is null or empty. All parameters are required except for the device description.

    The token is provided by the TokenAuthenticationService.

    Antoine Taillefer (
    See Also:
    Serialized Form