Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ROLE_ADMIN (0.04 sec)

  1. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

        // Test class with multiple roles
        @Secured({ "ROLE_USER", "ROLE_ADMIN" })
        static class MultipleRolesClass {
            public void testMethod() {
            }
        }
    
        // Test class with method annotations
        static class MethodAnnotatedClass {
            @Secured({ "ROLE_USER" })
            public void userMethod() {
            }
    
            @Secured({ "ROLE_ADMIN" })
            public void adminMethod() {
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/annotation/Secured.java

     * For example:
     *
     * <pre>
     * &#064;Secured({ &quot;ROLE_USER&quot; })
     * public void create(Contact contact);
     *
     * &#064;Secured({ &quot;ROLE_USER&quot;, &quot;ROLE_ADMIN&quot; })
     * public void update(Contact contact);
     *
     * &#064;Secured({ &quot;ROLE_ADMIN&quot; })
     * public void delete(Contact contact);
     * </pre>
     */
    @Target({ ElementType.METHOD, ElementType.TYPE })
    @Retention(RetentionPolicy.RUNTIME)
    @Inherited
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top