diff --git a/pom.xml b/pom.xml
index 471298a2..ff6e7b76 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,10 +5,10 @@
4.0.0
org.dcache
1.0-SNAPSHOT
- xrootd-parent
+ xrootd4j-parent
pom
- xrootd parent
+ xrootd4j parent
http://www.dcache.org/
@@ -27,6 +27,20 @@
+
+
+ mc-release
+ Local Maven repository of releases
+ http://mc-repo.googlecode.com/svn/maven2/releases
+
+ false
+
+
+ true
+
+
+
+
@@ -111,6 +125,22 @@
+
+
+ com.mycila.maven-license-plugin
+ maven-license-plugin
+
+
+ true
+
+
+
+
+ check
+
+
+
+
diff --git a/src/etc/header.txt b/src/etc/header.txt
new file mode 100644
index 00000000..561a37b0
--- /dev/null
+++ b/src/etc/header.txt
@@ -0,0 +1,17 @@
+Copyright (C) 2011 dCache.org
+
+This file is part of xrootd4j.
+
+xrootd4j is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published
+by the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+xrootd4j is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with xrootd4j. If not, see
+.
diff --git a/xrootd-lib/pom.xml b/xrootd-lib/pom.xml
index a5823163..5a2543bb 100644
--- a/xrootd-lib/pom.xml
+++ b/xrootd-lib/pom.xml
@@ -4,14 +4,14 @@
org.dcache
- xrootd-parent
+ xrootd4j-parent
1.0-SNAPSHOT
- xrootd-lib
+ xrootd4j-lib
jar
- xrootd library
+ xrootd4j core protocol
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdDecoder.java b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdDecoder.java
index b98f8394..88a55671 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdDecoder.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdDecoder.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.core;
import org.jboss.netty.handler.codec.frame.FrameDecoder;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdEncoder.java b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdEncoder.java
index c1cd21d7..c3a9d3f6 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdEncoder.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdEncoder.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.core;
import static org.jboss.netty.channel.Channels.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdException.java b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdException.java
index 02ff7f49..2babf84a 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdException.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdException.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.core;
public class XrootdException extends Exception
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdHandshakeHandler.java b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdHandshakeHandler.java
index bd2954f2..85d65ae8 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdHandshakeHandler.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdHandshakeHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.core;
import java.util.Arrays;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdRequestHandler.java b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdRequestHandler.java
index 12708e08..85d5a326 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdRequestHandler.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdRequestHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.core;
import org.jboss.netty.channel.ChannelHandlerContext;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/XrootdProtocol.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/XrootdProtocol.java
index bdfc6543..0fec4467 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/XrootdProtocol.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/XrootdProtocol.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol;
public interface XrootdProtocol {
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractRequestMessage.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractRequestMessage.java
index 235f777e..09e1732d 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractRequestMessage.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractRequestMessage.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.nio.charset.Charset;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractResponseMessage.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractResponseMessage.java
index 35187fa5..1a072db5 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractResponseMessage.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AbstractResponseMessage.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.jboss.netty.buffer.ChannelBuffer;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationRequest.java
index dae109d2..f065209f 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationResponse.java
index 2e2c7b28..fb3ab4f1 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/AuthenticationResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.util.List;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/CloseRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/CloseRequest.java
index b030a412..33039fd4 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/CloseRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/CloseRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListRequest.java
index 2f52778f..c22420d8 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListResponse.java
index a5fa955a..73581c02 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DirListResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.util.List;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DummyRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DummyRequest.java
index 717af7ac..fb6d15f2 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DummyRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/DummyRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
public class DummyRequest extends AbstractRequestMessage
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionRequest.java
index 9f950989..9cd01d42 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.jboss.netty.buffer.ChannelBuffer;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionResponse.java
index 20722b03..d7df9ef4 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/EndSessionResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
public class EndSessionResponse extends AbstractResponseMessage
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ErrorResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ErrorResponse.java
index 07ad0073..be50ca0f 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ErrorResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ErrorResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/GenericReadRequestMessage.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/GenericReadRequestMessage.java
index 582219b4..b3809d30 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/GenericReadRequestMessage.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/GenericReadRequestMessage.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.slf4j.Logger;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/HandshakeRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/HandshakeRequest.java
index d03cc948..e8f0dc1b 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/HandshakeRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/HandshakeRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.jboss.netty.buffer.ChannelBuffer;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginRequest.java
index dc0c2ae3..0802a2f1 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginResponse.java
index 8580bc1d..06715845 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/LoginResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MkDirRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MkDirRequest.java
index b98a8308..0150fc29 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MkDirRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MkDirRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MvRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MvRequest.java
index bcb604be..db51f5ea 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MvRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/MvRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.kXR_mv;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OKResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OKResponse.java
index a1e54373..bc808f3b 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OKResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OKResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenRequest.java
index 667799a6..5d98f1f5 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.util.zip.Adler32;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenResponse.java
index 89e38540..a0c4308a 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/OpenResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/PrepareRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/PrepareRequest.java
index 1c325291..60e1df95 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/PrepareRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/PrepareRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.util.Arrays;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolRequest.java
index e82bbd8a..04e690f2 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolResponse.java
index d1727f5f..9bdb04bc 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ProtocolResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadRequest.java
index 005f0cea..cee8631d 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadResponse.java
index 29cdd275..30d863c3 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadVRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadVRequest.java
index 75cda718..8666799c 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadVRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/ReadVRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.util.Arrays;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RedirectResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RedirectResponse.java
index 7bb1634e..f5a3cace 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RedirectResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RedirectResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
import org.slf4j.Logger;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmDirRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmDirRequest.java
index 13f013d0..ecb228e1 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmDirRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmDirRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmRequest.java
index f1658ca5..4542929f 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/RmRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatRequest.java
index 9d93f3ee..6d78da75 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatResponse.java
index 3f47fdc7..1fc33dd4 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
import org.dcache.xrootd.util.FileStatus;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxRequest.java
index 26163fb7..6088f8c1 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxResponse.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxResponse.java
index ab713ad4..0b436044 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxResponse.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/StatxResponse.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/SyncRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/SyncRequest.java
index 47aa1728..000e3988 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/SyncRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/SyncRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.dcache.xrootd.protocol.XrootdProtocol;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/UnknownRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/UnknownRequest.java
index b23123a4..110ea7e4 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/UnknownRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/UnknownRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import org.jboss.netty.buffer.ChannelBuffer;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/WriteRequest.java b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/WriteRequest.java
index f2fa6367..0ac75ea3 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/WriteRequest.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/protocol/messages/WriteRequest.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.protocol.messages;
import java.io.IOException;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationFactory.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationFactory.java
index 99d6dcef..a4cdf36a 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationFactory.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationFactory.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security;
import org.dcache.xrootd.security.plugins.authn.InvalidHandlerConfigurationException;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationHandler.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationHandler.java
index da07f740..b7082c7b 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationHandler.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security;
import javax.security.auth.Subject;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationProvider.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationProvider.java
index 68ee5db6..6513c3ec 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationProvider.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthenticationProvider.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security;
import java.util.Properties;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationFactory.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationFactory.java
index 3601840b..5e259d48 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationFactory.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationFactory.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security;
public interface AuthorizationFactory
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationHandler.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationHandler.java
index d920ba05..1c097f85 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationHandler.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security;
import java.security.GeneralSecurityException;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationProvider.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationProvider.java
index fca02911..8aed4761 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationProvider.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/AuthorizationProvider.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security;
import java.util.Properties;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/InvalidHandlerConfigurationException.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/InvalidHandlerConfigurationException.java
index 27b7dcbe..4d689841 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/InvalidHandlerConfigurationException.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/InvalidHandlerConfigurationException.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
/**
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/NestedBucketBuffer.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/NestedBucketBuffer.java
index 91d251b6..8edb17ba 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/NestedBucketBuffer.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/NestedBucketBuffer.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
import java.io.IOException;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/RawBucket.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/RawBucket.java
index eca04b6b..917b07e6 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/RawBucket.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/RawBucket.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/StringBucket.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/StringBucket.java
index 07b5436c..1023b4d6 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/StringBucket.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/StringBucket.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
import java.nio.charset.Charset;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/UnsignedIntBucket.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/UnsignedIntBucket.java
index 82426ca3..3abe7bf9 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/UnsignedIntBucket.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/UnsignedIntBucket.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
import org.dcache.xrootd.security.plugins.authn.XrootdSecurityProtocol.BucketType;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdBucket.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdBucket.java
index b1df600a..77514594 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdBucket.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdBucket.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
import java.io.IOException;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdSecurityProtocol.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdSecurityProtocol.java
index 0844e511..d64fd54a 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdSecurityProtocol.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/XrootdSecurityProtocol.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn;
import java.util.EnumSet;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationFactory.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationFactory.java
index 734016cb..d6b02103 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationFactory.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationFactory.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn.none;
import org.dcache.xrootd.security.AuthenticationFactory;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationHandler.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationHandler.java
index fba20c73..134ab02c 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationHandler.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn.none;
import javax.security.auth.Subject;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationProvider.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationProvider.java
index d60300ee..d5dd35e7 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationProvider.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authn/none/NoAuthenticationProvider.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authn.none;
import java.util.Properties;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationFactory.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationFactory.java
index a7866ac6..874486a6 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationFactory.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationFactory.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authz;
import org.dcache.xrootd.security.AuthorizationFactory;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationHandler.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationHandler.java
index 145c1564..8cf13ef8 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationHandler.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authz;
import java.util.Map;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationProvider.java b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationProvider.java
index 44212420..9d137427 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationProvider.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/security/plugins/authz/NoAuthorizationProvider.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.security.plugins.authz;
import java.util.Properties;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/util/FileStatus.java b/xrootd-lib/src/main/java/org/dcache/xrootd/util/FileStatus.java
index 2111b6ae..8938c307 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/util/FileStatus.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/util/FileStatus.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.util;
/**
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/util/OpaqueStringParser.java b/xrootd-lib/src/main/java/org/dcache/xrootd/util/OpaqueStringParser.java
index 57536289..09392c9c 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/util/OpaqueStringParser.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/util/OpaqueStringParser.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.util;
import java.util.Collections;
diff --git a/xrootd-lib/src/main/java/org/dcache/xrootd/util/ParseException.java b/xrootd-lib/src/main/java/org/dcache/xrootd/util/ParseException.java
index 60901d4f..8a305a9f 100644
--- a/xrootd-lib/src/main/java/org/dcache/xrootd/util/ParseException.java
+++ b/xrootd-lib/src/main/java/org/dcache/xrootd/util/ParseException.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.util;
public class ParseException extends Exception {
diff --git a/xrootd-standalone/pom.xml b/xrootd-standalone/pom.xml
index 793e0121..2be7cdfb 100644
--- a/xrootd-standalone/pom.xml
+++ b/xrootd-standalone/pom.xml
@@ -4,14 +4,14 @@
org.dcache
- xrootd-parent
+ xrootd4j-parent
1.0-SNAPSHOT
- xrootd-standalone
+ xrootd4j-standalone
jar
- xrootd data server
+ xrootd4j standalone data server
diff --git a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServer.java b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServer.java
index a1100a0e..53f34766 100644
--- a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServer.java
+++ b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServer.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.standalone;
import java.net.InetSocketAddress;
diff --git a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerConfiguration.java b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerConfiguration.java
index 6b178aa0..5bcc3de0 100644
--- a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerConfiguration.java
+++ b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerConfiguration.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.standalone;
import java.io.File;
diff --git a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerHandler.java b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerHandler.java
index c080bd8d..00a2a790 100644
--- a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerHandler.java
+++ b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerHandler.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.standalone;
import java.io.File;
diff --git a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerOptionParser.java b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerOptionParser.java
index 55374421..5a4e7fff 100644
--- a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerOptionParser.java
+++ b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerOptionParser.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.standalone;
import java.io.File;
diff --git a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerPipelineFactory.java b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerPipelineFactory.java
index 68321f9f..6f6b5211 100644
--- a/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerPipelineFactory.java
+++ b/xrootd-standalone/src/main/java/org/dcache/xrootd/standalone/DataServerPipelineFactory.java
@@ -1,3 +1,22 @@
+/**
+ * Copyright (C) 2011 dCache.org
+ *
+ * This file is part of xrootd4j.
+ *
+ * xrootd4j is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * xrootd4j is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with xrootd4j. If not, see
+ * .
+ */
package org.dcache.xrootd.standalone;
import org.jboss.netty.channel.ChannelPipelineFactory;
diff --git a/xrootd-standalone/src/main/resources/logback.xml b/xrootd-standalone/src/main/resources/logback.xml
index 68dd7d9e..04978fa2 100644
--- a/xrootd-standalone/src/main/resources/logback.xml
+++ b/xrootd-standalone/src/main/resources/logback.xml
@@ -1,3 +1,24 @@
+