Added License header to files

git-svn-id: https://svn.apache.org/repos/asf/incubator/photark/trunk@985216 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/photark-jcr/src/main/java/org/apache/photark/jcr/util/JCREncoder.java b/photark-jcr/src/main/java/org/apache/photark/jcr/util/JCREncoder.java
index d8ecf67..664ad3e 100644
--- a/photark-jcr/src/main/java/org/apache/photark/jcr/util/JCREncoder.java
+++ b/photark-jcr/src/main/java/org/apache/photark/jcr/util/JCREncoder.java
@@ -1,12 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
 package org.apache.photark.jcr.util;
 
-/**
- * Created by IntelliJ IDEA.
- * User: suho
- * Date: Jul 14, 2010
- * Time: 1:12:33 AM
- * To change this template use File | Settings | File Templates.
- */
+
 public class JCREncoder {
      public    static String toJCRFormat(String string) {
         if (string != null) {
diff --git a/photark-security/src/main/java/org/apache/photark/security/utils/Constants.java b/photark-security/src/main/java/org/apache/photark/security/utils/Constants.java
index e5436cc..eb75213 100644
--- a/photark-security/src/main/java/org/apache/photark/security/utils/Constants.java
+++ b/photark-security/src/main/java/org/apache/photark/security/utils/Constants.java
@@ -1,12 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
 package org.apache.photark.security.utils;
 
-/**
- * Created by IntelliJ IDEA.
- * User: suho
- * Date: Jul 28, 2010
- * Time: 11:00:49 PM
- * To
- */
+
 public class Constants {
 
     public final static String USER_STORE = "userStore";
diff --git a/photark-ui-admin/src/main/webapp/admin/js/roles.js b/photark-ui-admin/src/main/webapp/admin/js/roles.js
index 5e29831..a3c95b8 100644
--- a/photark-ui-admin/src/main/webapp/admin/js/roles.js
+++ b/photark-ui-admin/src/main/webapp/admin/js/roles.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+ 
 var accessManager;
 var roles;
 var groups;
diff --git a/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java b/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java
index 3c2b9ab..47b065a 100644
--- a/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java
+++ b/photark/src/main/java/org/apache/photark/services/gallery/GalleryListener.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
 package org.apache.photark.services.gallery;
 
 import org.apache.photark.Image;