Javadoc
The @DenyAll annotation can be used to disallow any security role to invoke the given method.
@DenyAll public void notme() { }
MainPage