Page 1 of 1

About Question enthuware.ocejws.v6.2.223 :

Posted: Fri Apr 25, 2014 1:56 pm
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.

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

Posted: Fri Apr 25, 2014 3:37 pm
by fjwalraven
Hi Mahendran Mookkiah,

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

Thank you for your feedback!

Regards,
Frits

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

Posted: Fri Apr 25, 2014 7:29 pm
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.

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

Posted: Sat Apr 26, 2014 12:14 am
by fjwalraven
Yes indeed, making it a correct option.

Regards,
Frits