question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MethodSecurityEvaluationContext Should Check Parameter Names Are Not Null

See original GitHub issue

Summary

Spring Security’s MethodSecurityEvaluationContext should ignore parameter names that are null.

Related: https://jira.spring.io/browse/SPR-17565

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
shraiyshcommented, Dec 6, 2018

Thanks @rwinch.

1reaction
rwinchcommented, Dec 5, 2018

Thanks for the offer. I’d like to keep this for a first time contributor for the moment. If you are looking for more issues, please check out the help wanted and exclude the first timers only label. Here is the query if you need it https://github.com/spring-projects/spring-security/issues?utf8=✓&q=is%3Aopen+label%3A"help+wanted"+sort%3Aupdated-desc++-label%3Afirst-timers-only

Read more comments on GitHub >

github_iconTop Results From Across the Web

in - org.springframework.security.access.expression.method
Internal security-specific EvaluationContext implementation which lazily adds the method parameter values as variables (with the corresponding parameter names) ...
Read more >
targetDomainObject is always null in PermissionEvaluator
Debug symbol information is required if you are using parameter names in expressions. . At lookupVariable , everything is null.
Read more >
Virgo » Spring Security @PreAuthorize is not working - Eclipse
I have a Interface in which one method is annotated with @PreAuthorize(...). ... unable to determine constructors/methods parameter names
Read more >
Index (spring-security-core 5.6.2 API) - javadoc.io
Allows finding parameter names using the value attribute of any number of Annotation ... but if the securityContext is null will defaults to...
Read more >
org.springframework.security.web.authentication ...
test. java. org. springframework. security. remoting. httpinvoker ... Sets the name of the parameter which should be checked for to see if a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found