users@grizzly.java.net

Re: Getting Subject or Principal

From: Alaska <bagirin_at_gmx.de>
Date: Tue, 28 Jul 2009 06:29:54 -0700 (PDT)

Hello Alexey,

I don"t use the GrizzlyRequest, I get a request from teh context:
context.removeAttribute(ProtocolParser.MESSAGE);

How can I get a Principal related to this request?

Thanx,
alaska



Oleksiy Stashok wrote:
>
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Getting-Subject-or-Principal-tp24647980p24698083.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.