users@glassfish.java.net

Re: 3.1.1 LDAP Realm chatty with RMI-IIOP standalone clients

From: Kumar Jayanti <v.b.kumar.jayanti_at_oracle.com>
Date: Wed, 17 Aug 2011 21:50:21 +0530

Hi,

   There was a recent thread on this : http://forums.java.net/node/820784

On 17-Aug-2011, at 5:28 PM, forums_at_java.net wrote:

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

I guess with such an architecture for your app, you are kind of stuck. If there was a WebLayer that was invoking the EJB i could have suggested alternative solutions.

 reusable GIOP contexts would be a big feature request for GlassFish at this moment.

regards,
kumar
>
> 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?
>
> TIA
>
> Chris.
>
>
> --
>
> [Message sent by forum member 'chris_hope']
>
> View Post: http://forums.java.net/node/834178
>
>