- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ROLE_ADMIN (0.04 seconds)
-
src/main/java/org/codelibs/fess/annotation/Secured.java
* For example: * * <pre> * @Secured({ "ROLE_USER" }) * public void create(Contact contact); * * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) * public void update(Contact contact); * * @Secured({ "ROLE_ADMIN" }) * public void delete(Contact contact); * </pre> */ @Target({ ElementType.METHOD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Inherited
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
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() { }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0)