Skip to main content

3.1.1 LDAP Realm chatty with RMI-IIOP standalone clients

No replies
Joined: 2009-02-23


I'm currently developing a EJB application with rich client that connects via RMI/IIOP.

When trying to migrate from certificate authentication to LDAP I discovered that the LDAP Realm does not seem to cache or sessionize your login and seems to visit the LDAP server each time you make an EJB call.

Is this by design? I was hoping the information would at least be cached for a period of time. As it stands the application will not scale to a large number of clients as it would flood the LDAP server with a large number of requests.

Is there any settings that would switch on caching of authentication requests for RMI-IIOP standalone EJB clients?