users@grizzly.java.net

Re: Getting Subject or Principal

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 27 Jul 2009 16:30:42 +0200

Hi,

> I'm looking for any possibility to get the Subject or Principal from
> the
> ProtocolChain"s context (or ssl-context).
> I"ve seen you have the GrizzlyRequest.getUserPrincipal()-method
> returning
> java.security.principal in the grizzly 2.0 version. I"m looking for
> the same
> method but for the 1.9.17-Snapshot.
Hmm, strange, I still see:

GrizzlyRequest:
     /**
      * Return the principal that has been authenticated for this
Request.
      */
     public Principal getUserPrincipal() {
         return (userPrincipal);
     }

in the trunk (1.9.18-SNAPSHOT).

WBR,
Alexey.


>
> Thank you in advance,
> alaska
> --
> View this message in context: http://www.nabble.com/Getting-Subject-or-Principal-tp24647980p24647980.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>