public class TokenAuthAccessInterceptor extends java.lang.Object implements SecurityAccessInterceptor
SecurityAuthentication
data plain token authentication
access headers. This is a raw header injection with static data.Constructor and Description |
---|
TokenAuthAccessInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
apply(SecurityAuthentication authentication,
java.net.URLConnection connection)
Applies from
SecurityAuthentication data plain token authentication
access headers. |
public void apply(SecurityAuthentication authentication, java.net.URLConnection connection)
SecurityAuthentication
data plain token authentication
access headers.
Expects headers.* key value pairs to pass it directly to the connection.
apply
in interface SecurityAccessInterceptor
authentication
- the determined authentication data to authorize for the
endpoint accessconnection
- the connection to the endpoint