title: Shiro JndiLdapRealm authorization against LDAP
body: <p>The <a href="http://shiro.apache.org/static/current/apidocs/org/apache/shiro/realm/ldap/JndiLdapRealm.html" rel="nofollow">JavaDoc for Shiro class JndiLdapRealm</a> explicitly says that authorization is by default disabled and that authorization against an LDAP server should be implemented by the user by subclassing and overriding the <strong><a href="http://grepcode.com/file/repo1.maven.org/maven2/org.apache.shiro/shiro-core/1.2.2/org/apache/shiro/realm/ldap/JndiLdapRealm.java#JndiLdapRealm.doGetAuthorizationInfo%28org.apache.shiro.subject.PrincipalCollection%29" rel="nofollow"><code>JndiLdapRealm#doGetAuthorizationInfo</code></a></strong> method.
  Is there sample code on how to do that including handling the communication / protocol with the LDAP server available anywhere?</p>