well depend the usage, can be needed for HttpServletRequest usage

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-08-06 17:19 GMT+02:00 Jean-Louis Monteiro <[email protected]>:
> Not sure to understand.
>
> The realmName property in the initial context must be a valid entry in the
> jaas.config
> Tomcat realm appName when using JAAS realm is also used to retrieve the
> entry, but you actually don't need it here.
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Wed, Aug 6, 2014 at 4:51 PM, Olivier Paquet <[email protected]>
> wrote:
>
>> Thanks good hint, shoult I put the Reals appName as realmName?
>>
>> I tried it with PropertiesLoginModule, but it's not working.
>>
>> This is in my server.xml:
>>
>>
>>
>> My InitialContext:
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://tomee-openejb.979440.n4.nabble.com/Principal-in-EJB-returns-always-guest-even-with-JAAS-module-tp4670862p4670865.html
>> Sent from the TomEE Users mailing list archive at Nabble.com.
>>

Reply via email to