public class OAuth2AccessInterceptor extends java.lang.Object implements SecurityAccessInterceptor
SecurityAuthentication
data an OAuth2 Authorization
access header.Constructor and Description |
---|
OAuth2AccessInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
apply(SecurityAuthentication authentication,
java.net.URLConnection connection)
Applies to a connection the authentication information.
|
public void apply(SecurityAuthentication authentication, java.net.URLConnection connection)
SecurityAccessInterceptor
apply
in interface SecurityAccessInterceptor
authentication
- the determined authentication data to authorize for the
endpoint accessconnection
- the connection to the endpoint