Annotation Type RequiresGuest


Requires the current Subject to be a "guest", that is, they are not authenticated or remembered from a previous session for the annotated class/instance/method to be accessed or invoked.

This annotation is the logical inverse of the RequiresUser annotation. That is, RequiresUser == !RequiresGuest, or more accurately,

RequiresGuest === subject.getPrincipal() == null.

Since:
0.9.0
See Also: