commit | ca2c020afad3e66d302022bed221276f9107b4af | [log] [tgz] |
---|---|---|
author | Jeff Storck <jtswork@gmail.com> | Fri Apr 19 17:31:19 2019 -0400 |
committer | Kevin Doran <kdoran@apache.org> | Wed Apr 24 15:38:27 2019 -0400 |
tree | e32e00ac16063287b275cb7b577800a9173ce695 | |
parent | ceca1e92323a2d60403a0871ba39360efe7e086d [diff] |
NIFIREG-253 Updated KerberosIdentityProvider to use the "Default Realm" property Implemented prioritized handling of appending the default realm A realm-qualified principal will not be modified before authentication A principal shortname will have Default Realm appended to it when it is not blank before authentication A principal shortname will not be modified if Default Realm is blank, and the underlying kerberos implementation will append the default_realm configured in krb5.conf In nifi-registry-security-utils added KerberosPrincipalParser for determining the realm of a kerberos principal added tests for KerberosPrincipalParser updated pom with spock-core as a test dependency This closes #172. Signed-off-by: Kevin Doran <kdoran@apache.org>
Registry—a subproject of Apache NiFi—is a complementary application that provides a central location for storage and management of shared resources across one or more instances of NiFi and/or MiNiFi.
Clone the repo
git clone https://git-wip-us.apache.org/repos/asf/nifi-registry.git git checkout master
Build the project
cd nifi-registry mvn clean install
If you wish to enable style and license checks, specify the contrib-check profile:
mvn clean install -Pcontrib-check
If you wish to run integration tests and contrib-check, specify both profiles:
mvn clean install -Pcontrib-check,integration-tests
Start the application
cd nifi-registry-assembly/target/nifi-registry-<VERSION>-bin/nifi-registry-<VERSION>/ ./bin/nifi-registry.sh start
Note that the application web server can take a while to load before it is accessible.
Accessing the application web UI
With the default settings, the application UI will be available at http://localhost:18080/nifi-registry
Accessing the application REST API
If you wish to test against the application REST API, you can access the REST API directly. With the default settings, the base URL of the REST API will be at http://localhost:18080/nifi-registry-api
. A UI for testing the REST API will be available at http://localhost:18080/nifi-registry-api/swagger/ui.html
Accessing the application logs
Logs will be available in logs/nifi-registry-app.log
Except as otherwise noted this software is licensed under the Apache License, Version 2.0
Licensed 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.