Class BasicAuthAccessInterceptor
- java.lang.Object
-
- net.sourceforge.plantuml.security.authentication.basicauth.BasicAuthAccessInterceptor
-
- All Implemented Interfaces:
SecurityAccessInterceptor
public class BasicAuthAccessInterceptor extends Object implements SecurityAccessInterceptor
Applies fromSecurityAuthentication
data a BasicAuth authentication access header.- Author:
- Aljoscha Rittner
-
-
Constructor Summary
Constructors Constructor Description BasicAuthAccessInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(SecurityAuthentication authentication, URLConnection connection)
Applies fromSecurityAuthentication
data a BasicAuth authentication access header.
-
-
-
Method Detail
-
apply
public void apply(SecurityAuthentication authentication, URLConnection connection)
Applies fromSecurityAuthentication
data a BasicAuth authentication access header.Expects "identifier" and "secret" to build a Authorization header.
- Specified by:
apply
in interfaceSecurityAccessInterceptor
- Parameters:
authentication
- the determined authentication data to authorize for the endpoint accessconnection
- the connection to the endpoint
-
-