Plugin, RegistryPlugin, URLConnectionHandler, aQute.service.reporter.Report, aQute.service.reporter.Reporterpublic class BasicAuthentication extends DefaultURLConnectionHandler
MATCH — The URL
Glob expressions
.password — The password for basic authentication
user — The user ID
registryMATCH| Constructor | Description |
|---|---|
BasicAuthentication() |
|
BasicAuthentication(java.lang.String user,
java.lang.String password,
aQute.service.reporter.Reporter reporter) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handle(java.net.URLConnection connection) |
Not doing anything is perfect ok
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map) |
Set the properties for this plugin.
|
java.lang.String |
toString() |
error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warningpublic BasicAuthentication()
public BasicAuthentication(java.lang.String user,
java.lang.String password,
aQute.service.reporter.Reporter reporter)
public void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
throws java.lang.Exception
DefaultURLConnectionHandlersetProperties in interface PluginsetProperties in class DefaultURLConnectionHandlermap - attributes and directives for this plugin's clausejava.lang.Exceptionpublic void handle(java.net.URLConnection connection)
DefaultURLConnectionHandlerhandle in interface URLConnectionHandlerhandle in class DefaultURLConnectionHandlerconnection - The connection to modifypublic java.lang.String toString()
toString in class java.lang.Object