Class UserAnnotationMethodInterceptor

All Implemented Interfaces:
MethodInterceptor

Checks to see if a @RequiresUser annotation is declared, and if so, ensures the calling Subject is either authenticated or remembered via remember me services before invoking the method.

This annotation essentially ensures that subject. getPrincipal() != null.

Since:
0.9.0