Annotation Interface SecuredResource
Marks a resource (class or method) as requiring secured access.
Access to a SecuredResource is restricted to authenticated users
and is granted only if one of the following conditions is met:
- The current user has administrative privileges
- The current user is authorized through one of the specified access control entries (ACL)
Additional security checks may also be applied depending on the runtime context (e.g. IP address restrictions or channel-specific rules).
If no ACL values are provided, access is typically limited to administrators only.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueDefines the list of ACL identifiers required to access the resource.A user is granted access if they match at least one of the provided ACL entries. If empty, only users with administrative privileges are allowed.
- Returns:
- an array of ACL identifiers
- Default:
{}
-