Package org.localify.common.security
Annotation Interface IsRecSys
@Target(METHOD)
@Retention(RUNTIME)
@PreAuthorize("hasRole(\'REC_SYS_API_ACCESS\')")
public @interface IsRecSys
An interface which enforces the requirement of having the REC_SYS_API_ACCESS role in Spring Security.
Functionally equivalent to @PreAuthorize("hasRole('REC_SYS_API_ACCESS')")