[
https://issues.apache.org/jira/browse/KNOX-474?focusedWorklogId=207798&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-207798
]
ASF GitHub Bot logged work on KNOX-474:
---------------------------------------
Author: ASF GitHub Bot
Created on: 05/Mar/19 14:06
Start Date: 05/Mar/19 14:06
Worklog Time Spent: 10m
Work Description: smolnar82 commented on pull request #62: KNOX-474 -
Added Kerberos related configuration validation at gateway startup time
URL: https://github.com/apache/knox/pull/62#discussion_r262510989
##########
File path:
gateway-spi/src/main/java/org/apache/knox/gateway/config/GatewayConfigurationException.java
##########
@@ -0,0 +1,39 @@
+/*
+ * 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.knox.gateway.config;
+
+import java.util.Set;
+
+@SuppressWarnings("serial")
+public class GatewayConfigurationException extends Exception {
+
+ private static String LINE_SEPARATOR = System.getProperty("line.separator",
"\n");
Review comment:
Fixed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 207798)
Time Spent: 1h 20m (was: 1h 10m)
> Improved Kerberos config validation and diagnostics at startup
> --------------------------------------------------------------
>
> Key: KNOX-474
> URL: https://issues.apache.org/jira/browse/KNOX-474
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 0.4.0
> Reporter: Kevin Minder
> Assignee: Sandor Molnar
> Priority: Major
> Labels: security
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> In gateway-site.xml, if gateway.hadoop.kerberos.secured=true
> # Complain or fail to start if there is a kinited principal.
> # Complain or fail to start if the file referenced via
> java.security.krb5.conf cannot be read.
> # Complain or fail to start if the file referenced via
> java.security.auth.login.config cannot be read.
> # Read the file referenced via java.security.auth.login.config complain or
> fail to start if the keyTab file referenced in the
> com.sun.security.jgss.initiate section there cannot be read.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)