You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by cl...@apache.org on 2015/07/19 12:06:19 UTC

jena git commit: Added missing licenses Part of the fix for JENA-990

Repository: jena
Updated Branches:
  refs/heads/master 7ce55b1d0 -> 232951d91


Added missing licenses
Part of the fix for JENA-990


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/232951d9
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/232951d9
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/232951d9

Branch: refs/heads/master
Commit: 232951d91772e61db65d836b89f54742daaf0bd8
Parents: 7ce55b1
Author: Claude Warren <cl...@apache.org>
Authored: Sun Jul 19 11:05:51 2015 +0100
Committer: Claude Warren <cl...@apache.org>
Committed: Sun Jul 19 11:05:51 2015 +0100

----------------------------------------------------------------------
 .../shared/AuthenticationRequiredException.java | 24 ++++++++++++++++++++
 .../permissions/impl/SecuredItemImplTest.java   | 17 ++++++++++++++
 2 files changed, 41 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/232951d9/jena-core/src/main/java/org/apache/jena/shared/AuthenticationRequiredException.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/shared/AuthenticationRequiredException.java b/jena-core/src/main/java/org/apache/jena/shared/AuthenticationRequiredException.java
index 448ef9e..160aa69 100644
--- a/jena-core/src/main/java/org/apache/jena/shared/AuthenticationRequiredException.java
+++ b/jena-core/src/main/java/org/apache/jena/shared/AuthenticationRequiredException.java
@@ -1,5 +1,29 @@
+/*
+ * 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.jena.shared;
 
+/**
+ * Exception to indicate that authentication is required for the operation to proceed.
+ * 
+ * My only be thrown if authentication credentials are not available.
+ *
+ */
 public class AuthenticationRequiredException extends OperationDeniedException {
 
 	public AuthenticationRequiredException() {

http://git-wip-us.apache.org/repos/asf/jena/blob/232951d9/jena-permissions/src/test/java/org/apache/jena/permissions/impl/SecuredItemImplTest.java
----------------------------------------------------------------------
diff --git a/jena-permissions/src/test/java/org/apache/jena/permissions/impl/SecuredItemImplTest.java b/jena-permissions/src/test/java/org/apache/jena/permissions/impl/SecuredItemImplTest.java
index e6ed8c5..22c992d 100644
--- a/jena-permissions/src/test/java/org/apache/jena/permissions/impl/SecuredItemImplTest.java
+++ b/jena-permissions/src/test/java/org/apache/jena/permissions/impl/SecuredItemImplTest.java
@@ -1,3 +1,20 @@
+/*
+ * 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.jena.permissions.impl;
 
 import org.apache.jena.graph.Node;