Annotation Interface Public


@Documented @Retention(RUNTIME) @Target({TYPE,FIELD}) public @interface Public

Designation of a public page, UI or component.

If a page, UI or component is denoted as public, it is visible to all users even when the user is not logged in. By default, all UIs and pages are private, thus all pages that are to be shown to the user without login must be denoted with the "public" annotation. Such pages and UIs are the entry point to the application: JBStrapParamType.ENTRY_POINT or the login page: JBStrapParamType.LOGIN_PAGE. But even other pages can receive this annotation, thereby enabling the application to have a public part (accessible without login) and a private one (accessible only after login).

Since:
4.0
Author:
JBStrap