Class UserAuthenticationResource

java.lang.Object
org.camunda.bpm.webapp.impl.security.auth.UserAuthenticationResource

public class UserAuthenticationResource extends Object
Jax-Rs resource allowing users to authenticate with username and password

Author:
Daniel Meyer
  • Field Details

    • LOGGER

      protected static final WebappLogger LOGGER
    • PATH

      public static final String PATH
      See Also:
    • request

      @Context protected javax.servlet.http.HttpServletRequest request
  • Constructor Details

    • UserAuthenticationResource

      public UserAuthenticationResource()
  • Method Details

    • getAuthenticatedUser

      public javax.ws.rs.core.Response getAuthenticatedUser(String engineName)
    • doLogin

      public javax.ws.rs.core.Response doLogin(String engineName, String appName, String username, String password)
    • getGroupsOfUser

      protected List<String> getGroupsOfUser(ProcessEngine engine, String userId)
    • getTenantsOfUser

      protected List<String> getTenantsOfUser(ProcessEngine engine, String userId)
    • doLogout

      public javax.ws.rs.core.Response doLogout(String engineName)
    • unauthorized

      protected javax.ws.rs.core.Response unauthorized()
    • forbidden

      protected javax.ws.rs.core.Response forbidden()
    • notFound

      protected javax.ws.rs.core.Response notFound()