Member since
02-03-2017
4
Posts
2
Kudos Received
0
Solutions
02-08-2017
01:14 PM
Hello Sharan,
I have the same problem as you. Have you found the way to limit access to specific users/groups?
Kind regards,
Michał
... View more
02-03-2017
04:47 PM
Dears,
I'm trying to configure shiro to authenticate users from AD and to limit
access to login to webui for specific group. Here's my shiro.ini config: activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = user
activeDirectoryRealm.systemPassword = password
activeDirectoryRealm.searchBase = "OU=x,OU=x,OU=x,DC=x,DC=x,DC=x"
activeDirectoryRealm.url = ldaps://ldap.domain.com:636
activeDirectoryRealm.groupRolesMap = "CN=HADOOP_GROUP,OU=x,OU=x,OU=
x,OU=x,DC=x,DC=x,DC=x":"role1"
activeDirectoryRealm.authorizationCachingEnabled = false
[roles]
role1 = *
/api/version = anon
/** = authc
Currently, authentication works for every user who is in search base, so
everyone from search base can login. To limit access, I would like to have
authorization based on specified group, so only users from HADOOP_GROUP can log in, like above in groupRolesMap, but it's not working as I expected.
What am I missing?
I'll appreciate your help.
Kind regards,
Michał
... View more