webappsec WebAppSec true xframe.options.enabledtrue authentication ShiroProvider true sessionTimeout 30 redirectToUrl /${GATEWAY_PATH}/knoxsso/knoxauth/login.html restrictedCookies rememberme,WWW-Authenticate main.ldapRealm org.apache.knox.gateway.shirorealm.KnoxLdapRealm main.ldapContextFactory org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory main.ldapRealm.contextFactory $ldapContextFactory main.ldapRealm.userDnTemplate uid={0},ou=people,dc=hadoop,dc=apache,dc=org main.ldapRealm.contextFactory.url ldap://knox-ldap:33389 main.ldapRealm.authenticationCachingEnabled false main.ldapRealm.contextFactory.authenticationMechanism simple urls./** authcBasic identity-assertion Default true hostmap static true localhost sandbox,sandbox.hortonworks.com knoxauth KNOXSSO knoxsso.token.ttl 86400000 knox.token.exp.server-managed false