Class SessionBasedAuthenticationProvider
-
- All Implemented Interfaces:
-
org.camunda.bpm.engine.rest.security.auth.AuthenticationProvider
public final class SessionBasedAuthenticationProvider implements AuthenticationProviderAuthentication provider retrieving the user id stored in the session. If none is found, falls back to the one provided on construction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSessionBasedAuthenticationProvider.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static SessionBasedAuthenticationProvider.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description SessionBasedAuthenticationProvider(String userId)
-
Method Summary
Modifier and Type Method Description AuthenticationResultextractAuthenticatedUser(HttpServletRequest request, ProcessEngine processEngine)UnitaugmentResponseByAuthenticationChallenge(HttpServletResponse response, ProcessEngine processEngine)-
-
Constructor Detail
-
SessionBasedAuthenticationProvider
SessionBasedAuthenticationProvider(String userId)
-
-
Method Detail
-
extractAuthenticatedUser
AuthenticationResult extractAuthenticatedUser(HttpServletRequest request, ProcessEngine processEngine)
-
augmentResponseByAuthenticationChallenge
Unit augmentResponseByAuthenticationChallenge(HttpServletResponse response, ProcessEngine processEngine)
-
-
-
-