Annotation Interface PublicResource


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface PublicResource
Marks a resource (class or method) as publicly accessible.

A PublicResource bypasses the default security restrictions applied to resources. It can be accessed without authentication or authorization checks.

This annotation is typically used to explicitly expose endpoints that should remain open.