Annotation Type DenyAll


@Retention(CLASS) @Target({METHOD,TYPE}) public @interface DenyAll

Lets nobody call this method -- or any public method of this class. On a class it is a closed default that PermitAll, PreAuthorize, Secured or RolesAllowed on a method opens.

Checked the way PreAuthorize is, self-calls and private methods included.