Repository: knox Updated Branches: refs/heads/master cc61bc920 -> 403624ad4
KNOX-1328 - Change Default Authentication to KnoxSSO for Admin UI Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/403624ad Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/403624ad Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/403624ad Branch: refs/heads/master Commit: 403624ad4a60fae3481030d1a6c679db989dd2eb Parents: cc61bc9 Author: Larry McCay <[email protected]> Authored: Mon May 21 15:23:07 2018 -0400 Committer: Larry McCay <[email protected]> Committed: Mon May 21 15:23:07 2018 -0400 ---------------------------------------------------------------------- .../home/conf/topologies/manager.xml | 41 +------------------- 1 file changed, 2 insertions(+), 39 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/403624ad/gateway-release/home/conf/topologies/manager.xml ---------------------------------------------------------------------- diff --git a/gateway-release/home/conf/topologies/manager.xml b/gateway-release/home/conf/topologies/manager.xml index 4fca820..12dffe4 100644 --- a/gateway-release/home/conf/topologies/manager.xml +++ b/gateway-release/home/conf/topologies/manager.xml @@ -32,46 +32,9 @@ </provider> <provider> - <role>authentication</role> - <name>ShiroProvider</name> + <role>federation</role> + <name>SSOCookieProvider</name> <enabled>true</enabled> - <param> - <!-- - session timeout in minutes, this is really idle timeout, - defaults to 30mins, if the property value is not defined,, - current client authentication would expire if client idles contiuosly for more than this value - --> - <name>sessionTimeout</name> - <value>30</value> - </param> - <param> - <name>main.ldapRealm</name> - <value>org.apache.knox.gateway.shirorealm.KnoxLdapRealm</value> - </param> - <param> - <name>main.ldapContextFactory</name> - <value>org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory</value> - </param> - <param> - <name>main.ldapRealm.contextFactory</name> - <value>$ldapContextFactory</value> - </param> - <param> - <name>main.ldapRealm.userDnTemplate</name> - <value>uid={0},ou=people,dc=hadoop,dc=apache,dc=org</value> - </param> - <param> - <name>main.ldapRealm.contextFactory.url</name> - <value>ldap://localhost:33389</value> - </param> - <param> - <name>main.ldapRealm.contextFactory.authenticationMechanism</name> - <value>simple</value> - </param> - <param> - <name>urls./**</name> - <value>authcBasic</value> - </param> </provider> <provider>
