dev@glassfish.java.net

Re: ApplicationContextFacade.declareRoles //TBD

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Tue, 14 Jun 2011 23:00:39 +0530

Similarly is there any reason for having Pwc* classes? Web container
more or less assumes an instance of WebModule, so why have
StandardContext, PwcWebModule, WebModule, etc?

Sahoo
On Tuesday 14 June 2011 10:37 PM, Shing Wai Chan wrote:
> 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.
>