Interface SecurityLogic

All Known Implementing Classes:
DefaultSecurityLogic
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 SecurityLogic
Security logic to protect an url.
Since:
1.9.0
Author:
Jerome Leleu
  • Method Details

    • perform

      Object perform(WebContext context, SessionStore sessionStore, Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, HttpActionAdapter httpActionAdapter, String clients, String authorizers, String matchers, Object... parameters)
      Perform the security logic.
      Parameters:
      context - the web context
      sessionStore - the session store
      config - the configuration
      securityGrantedAccessAdapter - the success adapter
      httpActionAdapter - the HTTP action adapter
      clients - the defined clients
      authorizers - the defined authorizers
      matchers - the defined matchers
      parameters - additional parameters
      Returns:
      the resulting action of the security