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 TypeMethodDescriptionvoid
apply
(SecurityAuthentication authentication, URLConnection connection) Applies to a connection the authentication information.
-
Method Details
-
apply
Applies to a connection the authentication information.- Parameters:
authentication
- the determined authentication data to authorize for the endpoint accessconnection
- the connection to the endpoint
-