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
registryMATCH| Constructor and Description |
|---|
BndAuthentication() |
| Modifier and Type | Method and 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.
|
error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warningpublic void handle(java.net.URLConnection connection)
throws java.lang.Exception
DefaultURLConnectionHandlerhandle in interface URLConnectionHandlerhandle in class DefaultURLConnectionHandlerconnection - The connection to modifyjava.lang.Exceptionpublic 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.Exception