public class BndAuthentication extends DefaultURLConnectionHandler
Settings
.
This URL Connection Handler plugin will use this information to add signing
information to the URL.
We add a X_A_QUTE_AUTHORIZATION
header with a formatted string that
contains the email of the user, the machine name (for documentation), the
public key, and a signed date header (SHA1WithRSA). This information can be
parameterized with the following plugin properties or the default settings
can be used.
URLConnectionHandler#MATCH
— URL matcher
Reporter.SetLocation
Report.Location
registry
MATCH
Constructor and Description |
---|
BndAuthentication() |
Modifier and Type | Method and Description |
---|---|
void |
handle(URLConnection connection)
Not doing anything is perfect ok
|
void |
setProperties(Map<String,String> map)
Set the properties for this plugin.
|
error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warning
public void handle(URLConnection connection) throws Exception
DefaultURLConnectionHandler
handle
in interface URLConnectionHandler
handle
in class DefaultURLConnectionHandler
connection
- The connection to modifyException
public void setProperties(Map<String,String> map) throws Exception
DefaultURLConnectionHandler
setProperties
in interface Plugin
setProperties
in class DefaultURLConnectionHandler
map
- attributes and directives for this plugin's clauseException
Copyright © 2015 aQute SARL. All rights reserved.