We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.auth.
Package com.vaadin.flow.server.auth
Annotation 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 byDenyAll
annotation, disallowing any user from accessing the methodAnonymousAllowed
annotation overridesPermitAll
andRolesAllowed
annotations, allowing all users to access the method (anonymous and authenticated users with any security roles)
See Also: