Class TokenAuthAccessInterceptor
java.lang.Object
net.sourceforge.plantuml.security.authentication.token.TokenAuthAccessInterceptor
- All Implemented Interfaces:
SecurityAccessInterceptor
Applies from
SecurityAuthentication
data plain token authentication
access headers. This is a raw header injection with static data.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(SecurityAuthentication authentication, URLConnection connection) Applies fromSecurityAuthentication
data plain token authentication access headers.
-
Constructor Details
-
TokenAuthAccessInterceptor
public TokenAuthAccessInterceptor()
-
-
Method Details
-
apply
Applies fromSecurityAuthentication
data plain token authentication access headers.Expects headers.* key value pairs to pass it directly to the connection.
- Specified by:
apply
in interfaceSecurityAccessInterceptor
- Parameters:
authentication
- the determined authentication data to authorize for the endpoint accessconnection
- the connection to the endpoint
-