[SHIRO-778] onInit method on AuthenticatingRealm is called twice#240
[SHIRO-778] onInit method on AuthenticatingRealm is called twice#240fpapon merged 2 commits intoapache:masterfrom
Conversation
config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java
Outdated
Show resolved
Hide resolved
config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java
Outdated
Show resolved
Hide resolved
config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java
Outdated
Show resolved
Hide resolved
54fe26e to
b43c8af
Compare
|
@bdemers I made some polish, I think it's better now. |
bmarwell
left a comment
There was a problem hiding this comment.
Just a little detail left if you don't mind
config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java
Outdated
Show resolved
Hide resolved
|
Looks good,! it would be great to have a test for this one. (possibly just tweaking the existing test |
Or just create a mock objects and see if |
config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java
Show resolved
Hide resolved
bf7837e to
0bca45b
Compare
bmarwell
left a comment
There was a problem hiding this comment.
one testcase missing, see description. It is similar to my previous one, but in mine, null was called after the defined objects, whereas we should have a "correct" test case where we call the method with null first (which is what actually happens in shiro).
config/ogdl/src/test/groovy/org/apache/shiro/config/ogdl/ReflectionBuilderTest.groovy
Show resolved
Hide resolved
|
LGTM 👍 |
No description provided.