![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.security.authentication.SecurityAccessInterceptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.security.authentication;
import java.net.URLConnection;
/**
* The security access interceptor applies the authentication information to a
* HTTP connection. This can be a user/password combination for BasicAuth or a
* bearer token for OAuth2.
*
* @author Aljoscha Rittner
*/
public interface SecurityAccessInterceptor {
// ::remove folder when __HAXE__
// ::remove folder when __CORE__
/**
* Applies to a connection the authentication information.
*
* @param authentication the determined authentication data to authorize for the
* endpoint access
* @param connection the connection to the endpoint
*/
void apply(SecurityAuthentication authentication, URLConnection connection);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy