Class AccessControl

java.lang.Object
com.yahoo.vespa.model.container.http.AccessControl

public class AccessControl extends Object
Helper class for http access control.
Author:
gjoranv, bjorncs
  • Field Details

    • ACCESS_CONTROL_CHAIN_ID

      public static final com.yahoo.component.ComponentId ACCESS_CONTROL_CHAIN_ID
    • ACCESS_CONTROL_EXCLUDED_CHAIN_ID

      public static final com.yahoo.component.ComponentId ACCESS_CONTROL_EXCLUDED_CHAIN_ID
    • DEFAULT_CONNECTOR_HOSTED_REQUEST_CHAIN_ID

      public static final com.yahoo.component.ComponentId DEFAULT_CONNECTOR_HOSTED_REQUEST_CHAIN_ID
    • EXCLUDED_HANDLERS

      public static final List<String> EXCLUDED_HANDLERS
    • domain

      public final String domain
    • clientAuthentication

      public final AccessControl.ClientAuthentication clientAuthentication
  • Method Details

    • configureHttpFilterChains

      public void configureHttpFilterChains(Http http)
    • configureHostedConnector

      public void configureHostedConnector(HostedSslConnectorFactory connectorFactory)
    • configureDefaultHostedConnector

      public void configureDefaultHostedConnector(Http http)
    • excludedBindings

      public Set<BindingPattern> excludedBindings()
      returns the excluded bindings as specified in 'access-control' in services.xml
    • handlers

      public Collection<Handler> handlers()
      all handlers (that are known by the access control components)
    • hasHandlerThatNeedsProtection

      public static boolean hasHandlerThatNeedsProtection(ApplicationContainerCluster cluster)