We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the servelet/authorization/arcitecture reference, method return statement is omitted.
Current Reference Content
@Bean static RoleHierarchy roleHierarchy() { var hierarchy = new RoleHierarchyImpl(); hierarchy.setHierarchy("ROLE_ADMIN > ROLE_STAFF\n" + "ROLE_STAFF > ROLE_USER\n" + "ROLE_USER > ROLE_GUEST"); }
After Return statement is added
@Bean static RoleHierarchy roleHierarchy() { RoleHierarchyImpl roleHierarchy = new RoleHierarchyImpl(); hierarchy.setHierarchy("ROLE_ADMIN > ROLE_STAFF\n" + "ROLE_STAFF > ROLE_USER\n" + "ROLE_USER > ROLE_GUEST"); return roleHierarchy; }
The text was updated successfully, but these errors were encountered:
8368c23
Successfully merging a pull request may close this issue.
In the servelet/authorization/arcitecture reference, method return statement is omitted.
Current Reference Content
After
Return statement is added
The text was updated successfully, but these errors were encountered: