Package aQute.bnd.url
Class BearerAuthentication
java.lang.Object
aQute.bnd.url.DefaultURLConnectionHandler
aQute.bnd.url.BearerAuthentication
- All Implemented Interfaces:
Plugin,RegistryPlugin,URLConnectionHandler,Report,Reporter
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface aQute.service.reporter.Report
Report.LocationNested classes/interfaces inherited from interface aQute.service.reporter.Reporter
Reporter.SetLocation -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final Stringprivate static final org.slf4j.Loggerprivate Stringprivate static final StringFields inherited from class aQute.bnd.url.DefaultURLConnectionHandler
registryFields inherited from interface aQute.bnd.service.url.URLConnectionHandler
MATCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(URLConnection connection) Not doing anything is perfect okvoidsetProperties(Map<String, String> map) Set the properties for this plugin.toString()Methods inherited from class aQute.bnd.url.DefaultURLConnectionHandler
addMatcher, error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface aQute.bnd.service.url.URLConnectionHandler
maxConcurrentConnections
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
HEADER_AUTHORIZATION
- See Also:
-
PREFIX_BEARER_AUTH
- See Also:
-
oauth2Token
-
authentication
-
-
Constructor Details
-
BearerAuthentication
public BearerAuthentication() -
BearerAuthentication
-
-
Method Details
-
setProperties
Description copied from class:DefaultURLConnectionHandlerSet the properties for this plugin. Subclasses should call this method before they handle their own properties.- Specified by:
setPropertiesin interfacePlugin- Overrides:
setPropertiesin classDefaultURLConnectionHandler- Parameters:
map- attributes and directives for this plugin's clause- Throws:
Exception
-
handle
Description copied from class:DefaultURLConnectionHandlerNot doing anything is perfect ok- Specified by:
handlein interfaceURLConnectionHandler- Overrides:
handlein classDefaultURLConnectionHandler- Parameters:
connection- The connection to modify
-
toString
-