Skip to content

Instantly share code, notes, and snippets.

@vitorbg
Created November 3, 2020 13:32
Show Gist options
  • Save vitorbg/ea5142bd8edb5c49a66f8c4e5493c75f to your computer and use it in GitHub Desktop.
Save vitorbg/ea5142bd8edb5c49a66f8c4e5493c75f to your computer and use it in GitHub Desktop.
[AOP-ModuleSecurity] AccessControlService
@Service
public class AccessControlService {
public boolean verifyUserModuleAccess(String user, ModuleEnum moduleEnum) {
//Rule for User and Module access
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment