dev@glassfish.java.net

Re: ApplicationContextFacade.declareRoles //TBD

From: Eirik Bjørsnøs <eirbjo_at_gmail.com>
Date: Tue, 14 Jun 2011 22:24:31 +0200

Nice!

GLASSFISH-16856 indicates that the method "is not invoked at this
point". Not sure I understand that. Isn't ServletContext.declareRoles
exposed to Servlet 3.0 web applications on Glassfish?

Eirik.

2011/6/14 Shing Wai Chan <shing.wai.chan_at_oracle.com>:
> Thanks for pointing out this.
> I have filed a bug http://java.net/jira/browse/GLASSFISH-16856
> to track this issue.
> Shing Wai Chan
>
> On 6/14/11 4:12 AM, Eirik Bjørsnøs wrote:
>>
>> While working on a JSR-340 proposal I came across
>> ApplicationContextFacade.declareRoles on trunk and found this:
>>
>>     @Override
>>     public void declareRoles(String... roleNames) {
>>         // TBD
>>     }
>>
>>
>> The same method does seem to have implementations in
>> ApplicationContext and in StandardContext.
>>
>> What gives? Is this a bug? Has the implementation of this method just
>> been forgotten? Am I missing something?
>>
>> Eirik.
>
>