- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_methodAnnotation_adminRole (0.09 sec)
-
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
String[] roles = secured.value(); assertEquals(1, roles.length); assertEquals("ROLE_USER", roles[0]); } // Test method annotation with admin role public void test_methodAnnotation_adminRole() throws NoSuchMethodException { Method method = MethodAnnotatedClass.class.getMethod("adminMethod"); Secured secured = method.getAnnotation(Secured.class); assertNotNull(secured);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.2K bytes - Viewed (0)