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