New issue

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

SEC-2327: Document SecurityExpressionRoot #2528

Closed
spring-issuemaster opened this Issue Sep 15, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster

spring-issuemaster commented Sep 15, 2013

Nick Williams (Migrated from SEC-2327) said:

None of the methods in SecurityExpressionRoot have any API documentation. Without reading the code, it's not clear what some of them do. For example, it's not clear that hasRole and hasAuthority are just synonyms and don't do anything different.

Normally I'd look for help in the reference documentation for the root expressions, but it's missing most of the methods (probably hasn't been updated since 3.0, and maybe earlier).

The documentation for this class (Javadoc) and the expressions (reference) could be improved a good deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment