Annotation Interface AnonymousAuthentication


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface AnonymousAuthentication
Marker for a custom rest rule method. (Since Nuclos 4.41.0) The execution of such a method is therefore possible without a login. An anonymous session is opened in Nuclos. If no "anonymous" user has been created, a virtual one is used. Warning, possible database queries on the user or in join with users may not work as intended. In such a case, adjust the rule or specify as a requirement that an "anonymous" user must be created. It is NOT necessary to set the system parameter "ANONYMOUS_USER_ACCESS_ENABLED".
  • Element Details

    • locale

      String locale
      Default:
      "en_GB"
    • dataLanguage

      String dataLanguage
      Default:
      "en_GB"