Interface SecurityAccessInterceptor
-
- All Known Implementing Classes:
BasicAuthAccessInterceptor,OAuth2AccessInterceptor,SecurityDefaultNoopAccessInterceptor,TokenAuthAccessInterceptor
public interface SecurityAccessInterceptorThe 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.- Author:
- Aljoscha Rittner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(SecurityAuthentication authentication, URLConnection connection)Applies to a connection the authentication information.
-
-
-
Method Detail
-
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 accessconnection- the connection to the endpoint
-
-