Annotation Type AnonymousAllowed


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface AnonymousAllowed
    A security annotation, granting anonymous access to the Vaadin endpoint (or its method) it is placed onto.

    This means that any user will be able to trigger an endpoint method (if placed on an endpoint class) or the particular endpoint method (if placed on an endpoint method) without providing an authentication token.

    If there are other supported security annotations present on the same class or method:

    • AnonymousAllowed is overridden by DenyAll annotation, disallowing any user from accessing the method
    • AnonymousAllowed annotation overrides PermitAll and RolesAllowed annotations, allowing all users to access the method (anonymous and authenticated users with any security roles)
    See Also:
    for security rules check implementation