ssh2: Honor admin.colors.enable

    Ssh2 admin interface did not honor admin.colors.enable, this patch resolve this problem.

    Ticket: http://rt.dcache.org/Ticket/Display.html?id=7820
    Acked-by: Gerd
    Target: master
    Require-book: no
    Require-notes: no

Squashed commit of the following:

commit 8e3db9a3f6cd0c9b8ce6f340f67eb3ecf3651163
Merge: 3887dc4 3e02f94
Author: Christian Bernardt <christian.bernardt@desy.de>
Date:   Mon Jul 15 18:33:45 2013 +0200

    Merge color fix branch with current master because not all changes got committed with the last push.

    Sorry.

    ssh2: Honor admin.colors.enable
    Ssh2 admin interface did not honor admin.colors.enable, this patch resolve this problem.

    Ticket: http://rt.dcache.org/Ticket/Display.html?id=7820
    Acked-by: Gerd
    Target: master
    Require-book: no
    Require-notes: no

commit 3887dc446e7d388659ffb651e5a0a9e1db67f868
Author: Christian Bernardt <christian.bernardt@desy.de>
Date:   Mon Jul 15 14:15:39 2013 +0200

    ssh2: Honor admin.colors.enable

    Ssh2 admin interface did not honor admin.colors.enable, this patch resolve this problem.

    Ticket: http://rt.dcache.org/Ticket/Display.html?id=7820
    Acked-by: Gerd
    Target: master
    Require-book: no
    Require-notes: no

commit 3e02f94eebb02bddf81441a9dd7ac41344577e74
Author: Christian Bernardt <christian.bernardt@desy.de>
Date:   Mon Jul 15 14:15:39 2013 +0200

    Change parameter to no type definition and switch line to above cell related properties

commit 89bd221adafba600ce35c5f103f65a6736c408e6
Author: Christian Bernardt <christian.bernardt@desy.de>
Date:   Mon Jul 15 12:22:09 2013 +0200

    Remove line that sets colors from environment param and not from within dCache

commit 0def3e296a3018c173062457b7256a4ac207ef30
Author: Christian Bernardt <christian.bernardt@desy.de>
Date:   Mon Jul 15 11:41:13 2013 +0200

    ssh2: Honor admin.colors.enable

    Ssh2 admin interface did not honor admin.colors.enable, this patch resolve this problem.

    Ticket: http://rt.dcache.org/Ticket/Display.html?id=7820
    Acked-by:
    Target: trunk
    Require-book: no
    Require-notes: no
Merge branch 'master' of github.com:dCache/dcache
Merge branch 'master' of github.com:dCache/dcache
pom: fix duplicated plugin declaration

Acked-by: Paul Millar
Target: trunk
Require-book: no
Require-notes: no
    dcache.properties : fix typo

    A variable dcache.net.inetaddr.lifetime was defined using itself.

    Acked-by: Tigran Mkrtchyan
    Patch: http://rb.dcache.org/r/5844/
    Target: trunk
    Require-book: no
    Require-notes: no

commit a94449ee9169d27be66e159c7824c2654df5899a
Author: Dmitry Litvintsev <litvinse@fnal.gov>
Date:   Mon Aug 5 17:03:40 2013 -0500

    dcache.properties : fix typo

    what happened

    Ticket: #number
    Acked-by:
    Target: trunk
    Require-book: no
    Require-notes: no
config: add support of any-of annotation

(any-of?value1|value2|value3)some.prop=value1, value2

Acked-by: Paul Millar
Target: trunk
Require-book: no
Require-notes: no
IPMatcher: Remove NetworkReality

IPMatcher's interface currently consists of a couple of static methods
that partly depend on the non-static class NetworkReality to enable mocking of DNS lookups.

This patch removes NetworkReality together with the static hostname glob matching method in
IPMatcher that used it.

This patch also renames a method from convertToIPv4IfPossible to
tryConvertToIPv4.

Acked-by: Tigran
Target: master
Require-book: no
Require-notes: no
pom: switch to jpnfs 0.5.2

update the nfs library with following fixes:

    [2b13212] nfsv41: consult backend 'filesystem' for read/write access
    [fedb335] nfsv41: propagate layout return errors on close

solves problem with file overwrite
solves problem with delayed checksum calculations on write

Ticket: #7572
Acked-by: Karsten Schwank
Target: master, 2.6
Require-book: no
Require-notes: yes
nfs: use any-of annotation to control NFS versions to run

A new property nfs.version is inttrodused. The supported values can be a combination
of '3', '4.1'. For example:

nfs.version=3
or
nfs.version=4.1,3

NFS v3 and v4 provided by the same component. The NFSv3 door is
removed with a corresponding xml configuration.

Remove XML code duplication. Some of the logic moved into nfs door,
which makes code less depended on Spring-IoC. Removed properites
to define Spring XML file.

Acked-by: Karsten Schwank
Target: trunk
Require-book: yes
Require-notes: yes
transfermanagers: Fixed typo in cell name property

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/5835/
Use unversioned spring schemas

Starting with version 3.2, spring schemas no longer contain the
version number.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/5836/
Fix regressions in configuration properties

- Restore old default password for billing service

- Fix property chaining for dcache.net.inetaddr.lifetime

- Restore original time unit for httpd properties (otherwise
  the old properties cannot be used as their meaning would
  change).

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Albert Rossi <arossi@fnal.gov>
Patch: http://rb.dcache.org/r/5861/
srm: Fix property chaining for srm.enable.space-reservation

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5862/
srm: Fix property chaining for srm.enable.spacemanager

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5862/
srm: Property name refinements

Renamed srm.enable.client.dns.lookup to srm.enable.client-dns-lookup.

Marked srmIgnoreClientProtocolOrder as obsolete. The same functionality
can be achieved setting srm.protocols.preferred to an empty or non-empty
list.

Target: trunk
Require-book: yes
Require-notes: yes
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5863/
Rename authentication related properties to comply with configuration policy

New properties

dcache.authn.gsi.delegation.cache.lifetime
dcache.authn.gsi.crl.cache.lifetime
dcache.authn.kerberos.realm
dcache.authn.kerberos.key-distribution-center-list
dcache.authn.jaas.config
dcache.authn.keystore
dcache.authn.keystore.password
dcache.authn.truststore
dcache.authn.truststore.password
dcache.authn.hostcert.key
dcache.authn.hostcert.cert
dcache.authn.hostcert.refresh
dcache.authn.hostcert.refresh.unit
dcache.authn.hostcert.verify
dcache.authn.capath
dcache.authn.capath.refresh
dcache.authn.capath.refresh.unit
dcache.authn.vomsdir
dcache.authn.ciphers
dcache.paths.grid-security
dcap.authn.ciphers
ftp.authn.ciphers
httpd.authn.ciphers
dcache.paths.grid-security
srm.authn.ciphers
webdav.authn.ciphers
xrootd.gsi.hostcert.refresh.unit
xrootd.gsi.ca.refresh.unit

Deprecated

gsi.delegation.cache.lifetime
gsi.crl.cache.lifetime
kerberos.realm
kerberos.key-distribution-center-list=
kerberos.jaas.config
keyStore
keyStorePassword
trustStore
trustStorePassword
grid.hostcert.key
grid.hostcert.cert
grid.hostcert.refresh
grid.hostcert.verify
grid.ca.path
grid.ca.refresh
dcache.security.ciphers
httpd.security.ciphers
grid.path
srm.security.ciphers
webdav.security.ciphers

Removed

grid.ca.refresh.unit
grid.hostcert.refresh.unit
dcap.security.ciphers
ftp.security.ciphers
config
classesDir

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5846/
Some final adjustements to configuration properties

Renamed *.enable.spacemanager to *.enable.space-reservation, as
it isn't spacemanager that is enabled by the property, but the
support for space reservations. This also brings the name in line
with a couple of sub-properties in the SRM.

Renamed *.overwrite to *.enable.overwrite and introduced
dcache.enable.overwrite as a common property. This name was already
used in some services.

Renamed srm.service.lookup-loginbroker to srm.protocols.loginbroker.
lookup-loginbroker isn't a service and thus fits badly in the
service.* hierarchy. At the same time, the SRM already got an
srm.protocols.* hierarchy that fits well with the functionality.

Renamed srm.limits.rm.single-remove-batch.size to srm.limits.remove-batch-size.

Added and moved some documentation. Documentation for implicit
space reservation was copied from existing documentation we had
outside the properties files.

Removed properties for implicit and strict space reservations from
transfermanagers service, as they do not appear to make use of these
properties.

Fixed several time unit related bugs (use of milli seconds vs seconds).

Renamed transfermanagers.limits.remote-gsiftp.transfers.max to
transfermanagers.limits.external-transfers and
transfermanagers.limits.copy.remote-copies.max to
transfermanagers.limits.internal-transfers (external transfers are not
limited to gsiftp, and both external and internal transfers are copy
operations).

Renamed transfermanagers.limits.remote-gsiftp.io-queue to
transfermanagers.mover.queue (the queue is not limited to gsiftp
transfers, and this property matches similar properties in other
doors).

Renamed transfermanagers.service.mover.timeout.unit to
transfermanagers.limits.transfer-time (the timeout isn't cell communication
related and there is no service called mover).

Note that old names are not marked deprecated as those names were never
included in an official release.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5848/
srm: Fix property chaining

Addresses the problem that the properties that should apply to
all requests types had no effect at all.

Note that the get request values were used as the base for other
requests types in the old system. This is reflected in the way
properties are chained.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5852/
ftp: Add documentation to ftp properties

Also renamed ftp.delete-on-failure to ftp.enable.delete-on-failure to
better fit with other properties.

Target: trunk
Require-book: yes
Require-notes: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5854/
Fix HsmFlushController Seconds to Milliseconds conversion

HsmFlushController converts the time units for _flushingInterval and
_retryDelayOnError from Seconds to Milliseconds in the setter. When
writing the setup it does not convert them back, but keeps them in
Milliseconds which leads to delays increasing by factor 1000 every time
the setup is saved and the pool restarted.

This patch adds the conversion from Milliseconds to seconds on printing
the setup.

Acked-by: Gerd
Target: master
Require-book: no
Require-notes: no