views:

34

answers:

1

Hi guys,

I integrated Apache Shiro with a dummy user and it works just fine! But this framework has no tutorials online?! It's very hard to get into it as a beginner.

Can somebody help me integrating a ldap integration. I have only found information that it is not that difficult :-/

I started with configuring the realm:

   [main]
    myRealm = org.apache.shiro.realm.ldap.AbstractLdapRealm

But what to do next? How to configure it?

Thank's for any help

+1  A: 

Hi Sven,

The AbstractLdapRealm is abstract - you can't instantiate it directly or declare it as your realm. You will have to subclass this one and implement the necessary abstract methods.

You won't need to do this upon the next Shiro release - there is currently an issue open (https://issues.apache.org/jira/browse/SHIRO-127) to have a concrete implementation that can be used out of the box so 95% of end-users won't have to subclass the AbstractLdapRealm.

HTH,

Les

Les Hazlewood
is there a release date?
Sven