Interface SecurityAccessInterceptor

All Known Implementing Classes:
BasicAuthAccessInterceptor, OAuth2AccessInterceptor, SecurityDefaultNoopAccessInterceptor, TokenAuthAccessInterceptor

public interface SecurityAccessInterceptor
The security access interceptor applies the authentication information to a HTTP connection. This can be a user/password combination for BasicAuth or a bearer token for OAuth2.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(SecurityAuthentication authentication, URLConnection connection)
    Applies to a connection the authentication information.
  • Method Details

    • apply

      void apply(SecurityAuthentication authentication, URLConnection connection)
      Applies to a connection the authentication information.
      Parameters:
      authentication - the determined authentication data to authorize for the endpoint access
      connection - the connection to the endpoint