Annotation Interface AnonymousSiteAccess


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface AnonymousSiteAccess

Permits resource access if at least ONE of the following criteria is met:

  • Current user is unauthenticated AND anonymous access enabled for site (see UserManager#isAnonymousAccessEnabled)
  • Current user is authenticated AND limited unlicensed access enabled for site (see UserManager#isLimitedUnlicensedAccessEnabled)
  • Current user is authenticated AND assigned a product license (see UserManager#isLicensed)
Since:
5.0.0