tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Anantha <kiran.anan...@gmail.com>
Subject Re: Authentication over SSL
Date Wed, 06 Apr 2011 04:37:24 GMT
Thanks, that's great. I am testing with the standalone server but the Tomcat
one is good to know as well.

For the ejbds configuration, how do I specify the keystore and truststore?
The usual javax.net.ssl system properties?

Thanks in advance,
kiran

On Tue, Apr 5, 2011 at 4:15 PM, Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:

> Hi,
>
> I'm not sure if you're using Tomcat or the standalone OpenEJB server but
> either way you should be able to perform authentication over SSL when
> looking up beans. For the standalone server you should be able to connect
> to
> the ejbds port (4203 by default, I think). For Tomcat you should be able to
> setup a HTTPS port and connect to https://<host>:8443/openejb/ejb.
>
> We support JAAS, so you should be able to implement your own LoginModule
> and
> add it to login.config in this format:
>
>  Login {
>   org.superbiz.MyLoginModule required;
>  };
>
> I haven't tried this with the standalone server, but have had it working
> successfully with Tomcat in the past.
>
> Hope that helps!
>
> Jon
>
> On Tue, Apr 5, 2011 at 11:33 PM, Kiran Anantha <kiran.anantha@gmail.com
> >wrote:
>
> > Hello,
> >
> > I have a Swing client looking up and using remote EJBs. I see that the
> > RemoteInitialContextFactory/JNDIContext performs authentication using the
> > supplied username/password. Can this be done over SSL ?
> >
> > Also what are the extension points for the authentication module
> (implement
> > my own LoginModule?) ?
> >
> > Thanks,
> > kiran
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message