gplazma2-xacml: revert version of opensaml

The privilege xacml client is incompatible with the newer opensaml library.
In particular, the client bootstrap method calls a method which is missing
in the newer version.

Restores opensaml to 2.4.1 (last compatible).  Also eliminates unused opensaml1 library.

Target: master
Request: 2.8
Patch: http://rb.dcache.org/r/6581/
Bug: http://rt.dcache.org/Ticket/Display.html?id=8244
Requires-book: no
Requires-notes: no
Acked-by: Paul
(cherry picked from commit 71de63c00e30933bfceb6d60ad4f017a6c82694f)

Signed-off-by: alrossi <arossi@otfrid.fnal.gov>
Fix NPE in save command

Fixes

java.lang.NullPointerException: null
    at org.dcache.cells.UniversalSpringCell.ac_save(UniversalSpringCell.java:455) ~[dcache-core-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51]
    at dmg.util.command.AcCommandExecutor.execute(AcCommandExecutor.java:157) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.util.CommandInterpreter$CommandEntry.execute(CommandInterpreter.java:385) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.util.CommandInterpreter.execute(CommandInterpreter.java:281) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.util.CommandInterpreter.command(CommandInterpreter.java:215) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellAdapter.executeLocalCommand(CellAdapter.java:1025) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellAdapter.messageArrived(CellAdapter.java:952) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellNucleus$DeliverMessageTask.innerRun(CellNucleus.java:1070) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellNucleus$AbstractNucleusTask.run(CellNucleus.java:975) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
    at dmg.cells.nucleus.CellNucleus$1.run(CellNucleus.java:687) [cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]

Affects all services that use UniversalSpringCell and do not have a default
setup file.

Target: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Albert Rossi <arossi@fnal.gov>
Patch: http://rb.dcache.org/r/6576/
nfs-proxy: add support for open-less read requests

in a production we observe situations, where client
decides to perform IO through MDS (door) with
all-zero stateid. Such behavior is  allowed by
rfc5661 (#8.2.3) and should be supported
to keep clients happy.

Acked-by: Gerd Behrmann
Target: master, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit f29613b1859c22b99abbcd3de063a15fd7a01831)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
nfs4: clean failed request from pending queue

if door have failed to start a mover, then we have to
clean pending message queue to avoid dead records. A
new entry will be created on client retry.

Acked-by: Gerd Behrmann
Target: master, 2.7, 2.8
Require-book: no
Require-notes: no
(cherry picked from commit 9f78b39ca1aac8418e9adea9c1ab219316178ce8)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
nfs-proxy: fix logging CDC

Acked-by: Gerd Behrmann
Target: master, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit 6e7943fe960f165ab9474188c59c79bc6f61c64a)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #420 from alrossi/fix/2.8/revert-opensaml-version

gplazma2-xacml: revert version of opensaml
Merge pull request #427 from gbehrmann/fix/save

Fix NPE in save command
Merge pull request #432 from kofemann/zero-stateid-2.8

nfs-proxy: add support for open-less read requests
Merge pull request #434 from kofemann/cdc-2.8

nfs-proxy: fix logging CDC
Merge pull request #436 from kofemann/clean-dead-request-2.8

nfs4: clean failed request from pending queue
libs: update nfs to 0.7.4

minor bugfix to support chimera's rename fixes

Changelog for nfs4j-0.7.3..nfs4j-0.7.4
    * [b11ec2a] nfs4: fix lookupp on the root of the tree
    * [f99922b] nfs4: fix handling of illegal operations
    * [5646570] vfs: chimera: translate exceptions to nfs errors

Acked-by: Gerd Behrmann
Target: master, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit fb72047265ae500fbdad0d26eef35d0028781339)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #440 from kofemann/nfs-0.7.4-2.8

libs: update nfs to 0.7.4
chimera: fix rename into a file

fix confitions when file is remove into an existing file
as a parent.

Ticket: #8250
Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
(cherry picked from commit 119ecfe92c1a69925ad31934f7517421e3f74405)
(cherry picked from commit 1287a28a057c233b9e9c7d93876e4593d50343f4)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #443 from kofemann/fix-chimera-mv-2.8

chimera: fix rename into a file
srm-client: fix adler32

The adler32 script invokes the Adler32 class to calculate the ADLER32 digest of a file.

Subsequent to the 2.6.0 release, this class was mistakenly moved to srm-server, so isn't
part of the srm-client packages, which means that this command fails if srm-client is
built from branches newer than 2.6.

This patch moves the Adler32 class to the srm-client package.  It also moves the GridftpList
class that is also used by a script (which we currently don't distribute).  The two scripts
command-line-clietn and srm_v1 (both of which we don't distribute) are deleted as they
refer to classes that do not exist.  The unused Makefile is also deleted.

Target: master
Request: 2.8
Request: 2.7
Acked-by: Gerd Behrmann
Patch: http://rb.dcache.org/r/6643/
Merge pull request #445 from paulmillar/fix/2.8/srm-client

srm-client: fix adler32
srm,srm-client: Report failure for failed SRM v1 transfers

Fixes the following bugs:

- The srm client ignored failures to set the file status to 'Done'.

- The srm client changed the file status to 'Done' even when the
  transfer failed.

- The srm server did not accept 'Failed' as a file status even
  though the spec lists it as a valid status for setFileStatus.

I am requesting a merge to stable branches as this bug may report
failed uploads as having been successful.

Target: master
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6629/
(cherry picked from commit 7e516df626977241271855398249cd75bffe65e3)
pool: Fix logging context for thread pool

Fixes the logging context in a thread pool used by migration tasks,
pool to pool tasks, and sticky bit expiration.

Target: trunk
Request: 2.8
Request: 2.7
Request: 2.6
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6675/
(cherry picked from commit 4f79cb3dbd2e7662da7f73dacae68a8f129b5101)
xrootd: Upgrade to xrootd4j 1.2.5

Fixes spec compliance issues related to null-terminated strings.
Affects the locate, login and open responses.

Target: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6678/
ssh1: Fix typo in service batch file

The typo prevented the use of a history file.

Target: trunk
Request: 2.8
Request: 2.7
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6697/
(cherry picked from commit 465705ba177ac75bfc247f4798778d3d2e631edd)