Package io.javalin.core.security
Interface AccessManager
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AccessManager
The access manager is a way of implementing per-endpoint security management. It's only enabled for endpoints if a list of roles is provided. Ex: get("/secured", SecuredController::get, roles(LOGGED_IN));
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmanage(Handler handler, io.javalin.http.Context ctx, Set<RouteRole> routeRoles)
-