blob: 8bb3303d48d5dc960fd5f536ccdd4de5fe24b169 [file] [log] [blame]
##########################################################################
# 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.
##########################################################################
[main]
ldapRealm = org.apache.knox.gateway.shirorealm.KnoxLdapRealm
ldapRealm.userDnTemplate = uid={0},ou=people,dc=hadoop,dc=apache,dc=org
ldapRealm.contextFactory.url = ldap://localhost:33389
ldapRealm.contextFactory.authenticationMechanism = simple
#ldapRealm.contextFactory.authenticationMechanism = DIGEST-MD5
#ldapRealm.contextFactory.environment[some.obscure.jndi.key] = some value
#activeDirectoryRealm = org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm
#activeDirectoryRealm.systemUsername = uid=admin,ou=system
#activeDirectoryRealm.systemPassword = secret
#activeDirectoryRealm.searchBase = o=sevenSeas,ou=people
#activeDirectoryRealm.url = ldap://localhost:10389
#[users]
#john=smith, users
#
#[roles]
#users = *
[urls]
/** = authcBasic