Skip to content

Commit

Permalink
[Issue wicketstuff#236] Fixed issue in class AnnotationsShiroAuthoriz…
Browse files Browse the repository at this point in the history
…ationStrategy.
  • Loading branch information
sturmm committed Jul 22, 2013
1 parent 98e08fc commit 1e71548
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -127,7 +127,7 @@ public boolean isActionAuthorized(final Component component, final Action action
final Class<? extends Component> clazz = component.getClass();
Annotation[] componentClassAnnotations = clazz.getAnnotations();
ShiroSecurityConstraint fail = checkInvalidInstantiation(
findShiroSecurityConstraintAnnotations(componentClassAnnotations), ShiroAction.INSTANTIATE);
findShiroSecurityConstraintAnnotations(componentClassAnnotations), _action );
if (fail == null)
{
//TODO: Allow ShiroSecurityConstraint annotations on packages OR remove this check as the annotation is
Expand Down

0 comments on commit 1e71548

Please sign in to comment.