Class OAuth2AccessInterceptor
- java.lang.Object
-
- net.sourceforge.plantuml.security.authentication.oauth.OAuth2AccessInterceptor
-
- All Implemented Interfaces:
SecurityAccessInterceptor
public class OAuth2AccessInterceptor extends java.lang.Object implements SecurityAccessInterceptor
Applies fromSecurityAuthenticationdata an OAuth2 Authorization access header.
-
-
Constructor Summary
Constructors Constructor Description OAuth2AccessInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(SecurityAuthentication authentication, java.net.URLConnection connection)Applies to a connection the authentication information.
-
-
-
Method Detail
-
apply
public void apply(SecurityAuthentication authentication, java.net.URLConnection connection)
Description copied from interface:SecurityAccessInterceptorApplies to a connection the authentication information.- Specified by:
applyin interfaceSecurityAccessInterceptor- Parameters:
authentication- the determined authentication data to authorize for the endpoint accessconnection- the connection to the endpoint
-
-