Class TokenAuthAccessInterceptor
- java.lang.Object
-
- net.sourceforge.plantuml.security.authentication.token.TokenAuthAccessInterceptor
-
- All Implemented Interfaces:
SecurityAccessInterceptor
public class TokenAuthAccessInterceptor extends Object implements SecurityAccessInterceptor
Applies fromSecurityAuthenticationdata plain token authentication access headers. This is a raw header injection with static data.- Author:
- Aljoscha Rittner
-
-
Constructor Summary
Constructors Constructor Description TokenAuthAccessInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(SecurityAuthentication authentication, URLConnection connection)Applies fromSecurityAuthenticationdata plain token authentication access headers.
-
-
-
Method Detail
-
apply
public void apply(SecurityAuthentication authentication, URLConnection connection)
Applies fromSecurityAuthenticationdata plain token authentication access headers.Expects headers.* key value pairs to pass it directly to the connection.
- Specified by:
applyin interfaceSecurityAccessInterceptor- Parameters:
authentication- the determined authentication data to authorize for the endpoint accessconnection- the connection to the endpoint
-
-