users@grizzly.java.net

Re: accessing SSLEngine on per-request? (jersey related)

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 07 Oct 2009 10:50:47 +0200

Hi Zoltan,

please try following:

((com.sun.grizzly.util.WorkerThread)
Thread.currentThread()).getSSLEngine();

Hope this will help.

WBR,
Alexey.

On Oct 6, 2009, at 23:39 , Zoltan Arnold NAGY wrote:

> Hello everyone,
>
> I'm trying to implement authentication using client-side ssl
> certificates with Grizzly, running
> latest Jersey to serve RESTful content.
>
> The SSL stuff works fine, but for authorization to be able to occur,
> I'd need to get the
> SubjectDN from the SSLEngine's Session.
>
> Is there a way to get that inside a Jersey request?
>
> Maybe I could insert my own class before each (jersey's) adapter
> call, and pass
> it on, somehow?
>
> Any pointers are welcome.
>
> Thanks,
> Zoltan
>
>
> __________ Information from ESET Smart Security, version of virus
> signature database 4485 (20091006) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>