Package 

Interface AccessManager


  • @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

      Modifier and Type Method Description
      abstract void manage(@NotNull() Handler handler, @NotNull() Context ctx, @NotNull() Set<RouteRole> routeRoles)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait