Hello Everybody,

I have to anticipate that I just started with shire, so forgive me if I have 
misunderstood some of the concepts or missing the right wording.
I have successfully setup my first shiro Project and managed to authenticate 
against our internal LDAP.
Now I'm trying to figure out how I can LDAP groups to shire roles and I'm 
pretty much stuck.

What do I have to change in my configuration to make it work.

My shiro.ini
# =======================
# Shiro INI configuration
# =======================

[main]

sha256Matcher = org.apache.shiro.authc.credential.Sha256CredentialsMatcher

ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm 
ldapRealm.userDnTemplate = uid={0},cn=users,dc=miniserver,dc=xyrality,dc=net
ldapRealm.contextFactory.url = ldap://miniserver.xyrality.net:389

securityManager.sessionManager.globalSessionTimeout = 1800000

[users]

[roles]

[urls]

If I have to implement my own role resolver, could you give me a sample source 
code to give me a kick start?

Greetings Carlo

Reply via email to