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 fromSecurityAuthentication
data an OAuth2 Authorization access header.
-
-
Constructor Summary
Constructors Constructor Description OAuth2AccessInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(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:SecurityAccessInterceptor
Applies to a connection the authentication information.- Specified by:
apply
in interfaceSecurityAccessInterceptor
- Parameters:
authentication
- the determined authentication data to authorize for the endpoint accessconnection
- the connection to the endpoint
-
-