You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/07/21 22:35:20 UTC
[05/12] jena git commit: Added missing licenses Part of the fix for
JENA-990
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/68d00726
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/68d00726
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/68d00726
Branch: refs/heads/master
Commit: 68d00726fee5494dc0d96355080fca00da65a6ae
Parents: dbcaa0e
Author: Claude Warren <cl...@apache.org>
Authored: Sun Jul 19 11:05:51 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Jul 21 21:33:40 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/68d00726/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/68d00726/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;