Interface SecurityLogic<R,​C extends WebContext>

  • All Known Implementing Classes:
    DefaultSecurityLogic

    public interface SecurityLogic<R,​C extends WebContext>
    Security logic to protect an url.
    Since:
    1.9.0
    Author:
    Jerome Leleu
    • Method Detail

      • perform

        R perform​(C context,
                  Config config,
                  SecurityGrantedAccessAdapter<R,​C> securityGrantedAccessAdapter,
                  HttpActionAdapter<R,​C> httpActionAdapter,
                  String clients,
                  String authorizers,
                  String matchers,
                  Boolean multiProfile,
                  Object... parameters)
        Perform the security logic.
        Parameters:
        context - the web context
        config - the configuration
        securityGrantedAccessAdapter - the success adapter
        httpActionAdapter - the HTTP action adapter
        clients - the defined clients
        authorizers - the defined authorizers
        matchers - the defined matchers
        multiProfile - whether multi profiles are supported
        parameters - additional parameters
        Returns:
        the resulting action of the security