About Question enthuware.ocejws.v6.2.223 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
mmookkiah
Posts: 4
Joined: Sun Apr 20, 2014 6:33 pm
Contact:

About Question enthuware.ocejws.v6.2.223 :

Post by mmookkiah »

Hello,

I see a comment on clarification
@DenyAll is only allowed on a method.
As per http://docs.oracle.com/javaee/6/api/jav ... nyAll.html DenyAll is allowed in both class and method. Please clarify.

Thanks,
Mahendran Mookkiah.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.223 :

Post by fjwalraven »

Hi Mahendran Mookkiah,

You are right, that is not correct! I will update the question.

Thank you for your feedback!

Regards,
Frits

mmookkiah
Posts: 4
Joined: Sun Apr 20, 2014 6:33 pm
Contact:

Re: About Question enthuware.ocejws.v6.2.223 :

Post by mmookkiah »

Hi,

Doesn't @RolesAllowed("student") on the addp() overrules the @DenyAll on the class?

Reference:
http://docs.oracle.com/cd/E16439_01/doc ... ecr004.htm

Please clarify.

Thanks,
Mahendran.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.223 :

Post by fjwalraven »

Yes indeed, making it a correct option.

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests