Uses of Interface
org.bremersee.security.core.UserContext
-
Packages that use UserContext Package Description org.bremersee.security.core -
-
Uses of UserContext in org.bremersee.security.core
Classes in org.bremersee.security.core that implement UserContext Modifier and Type Class Description static class
UserContext.Impl
The default implementation.Methods in org.bremersee.security.core that return UserContext Modifier and Type Method Description static UserContext
UserContext. newInstance()
New instance user context.static UserContext
UserContext. newInstance(String userId, Collection<String> roles, Collection<String> groups)
New instance user context.static UserContext
UserContext. newInstance(org.springframework.security.core.Authentication authentication, Collection<String> groups)
New instance user context.Method parameters in org.bremersee.security.core with type arguments of type UserContext Modifier and Type Method Description <R> R
UserContextCaller. callWithOptionalUserContext(@NotNull Function<UserContext,R> function)
Call with optional user context.<R> R
UserContextCaller. callWithRequiredUserContext(@NotNull Function<UserContext,R> function)
Call with required user context.<R,E>
org.springframework.http.ResponseEntity<E>UserContextCaller. responseWithOptionalUserContext(@NotNull Function<UserContext,R> function)
Response with optional user context response entity.<R,E>
org.springframework.http.ResponseEntity<E>UserContextCaller. responseWithRequiredUserContext(@NotNull Function<UserContext,R> function)
Response with required user context response entity.
-