public class BasicAuthAccessInterceptor extends java.lang.Object implements SecurityAccessInterceptor
SecurityAuthentication data a BasicAuth authentication
access header.| Constructor and Description |
|---|
BasicAuthAccessInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(SecurityAuthentication authentication,
java.net.URLConnection connection)
Applies from
SecurityAuthentication data a BasicAuth authentication
access header. |
public void apply(SecurityAuthentication authentication, java.net.URLConnection connection)
SecurityAuthentication data a BasicAuth authentication
access header.
Expects "identifier" and "secret" to build a Authorization header.
apply in interface SecurityAccessInterceptorauthentication - the determined authentication data to authorize for the
endpoint accessconnection - the connection to the endpoint