Class BasicAuthAccessInterceptor
java.lang.Object
net.sourceforge.plantuml.security.authentication.basicauth.BasicAuthAccessInterceptor
- All Implemented Interfaces:
SecurityAccessInterceptor
Applies from
SecurityAuthentication data a BasicAuth authentication
access header.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(SecurityAuthentication authentication, URLConnection connection) Applies fromSecurityAuthenticationdata a BasicAuth authentication access header.
-
Constructor Details
-
BasicAuthAccessInterceptor
public BasicAuthAccessInterceptor()
-
-
Method Details
-
apply
Applies fromSecurityAuthenticationdata a BasicAuth authentication access header.Expects "identifier" and "secret" to build a Authorization header.
- Specified by:
applyin interfaceSecurityAccessInterceptor- Parameters:
authentication- the determined authentication data to authorize for the endpoint accessconnection- the connection to the endpoint
-