Class UserAuthenticationResource
java.lang.Object
org.camunda.bpm.webapp.impl.security.auth.UserAuthenticationResource
Jax-Rs resource allowing users to authenticate with username and password
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final WebappLogger
static final String
protected jakarta.servlet.http.HttpServletRequest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
protected jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
getAuthenticatedUser
(String engineName) getGroupsOfUser
(ProcessEngine engine, String userId) getTenantsOfUser
(ProcessEngine engine, String userId) protected jakarta.ws.rs.core.Response
notFound()
protected jakarta.ws.rs.core.Response
-
Field Details
-
LOGGER
-
PATH
- See Also:
-
request
@Context protected jakarta.servlet.http.HttpServletRequest request
-
-
Constructor Details
-
UserAuthenticationResource
public UserAuthenticationResource()
-
-
Method Details
-
getAuthenticatedUser
@GET @Path("/{processEngineName}") public jakarta.ws.rs.core.Response getAuthenticatedUser(@PathParam("processEngineName") String engineName) -
doLogin
-
getGroupsOfUser
-
getTenantsOfUser
-
doLogout
@POST @Path("/{processEngineName}/logout") public jakarta.ws.rs.core.Response doLogout(@PathParam("processEngineName") String engineName) -
unauthorized
protected jakarta.ws.rs.core.Response unauthorized() -
forbidden
protected jakarta.ws.rs.core.Response forbidden() -
notFound
protected jakarta.ws.rs.core.Response notFound()
-