public class AnnotationsShiroAuthorizationStrategy extends Object implements org.apache.wicket.authorization.IAuthorizationStrategy
Constructor and Description |
---|
AnnotationsShiroAuthorizationStrategy() |
Modifier and Type | Method and Description |
---|---|
protected ShiroSecurityConstraint |
checkInvalidInstantiation(Annotation[] annotations,
ShiroAction action) |
<T extends org.apache.wicket.request.component.IRequestableComponent> |
checkInvalidInstantiation(Class<T> componentClass) |
boolean |
isActionAuthorized(org.apache.wicket.Component component,
org.apache.wicket.authorization.Action action) |
<T extends org.apache.wicket.request.component.IRequestableComponent> |
isInstantiationAuthorized(Class<T> componentClass) |
boolean |
isResourceAuthorized(org.apache.wicket.request.resource.IResource resource,
org.apache.wicket.request.mapper.parameter.PageParameters parameters) |
public AnnotationsShiroAuthorizationStrategy()
protected ShiroSecurityConstraint checkInvalidInstantiation(Annotation[] annotations, ShiroAction action)
public <T extends org.apache.wicket.request.component.IRequestableComponent> ShiroSecurityConstraint checkInvalidInstantiation(Class<T> componentClass)
public boolean isActionAuthorized(org.apache.wicket.Component component, org.apache.wicket.authorization.Action action)
isActionAuthorized
in interface org.apache.wicket.authorization.IAuthorizationStrategy
public boolean isResourceAuthorized(org.apache.wicket.request.resource.IResource resource, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
isResourceAuthorized
in interface org.apache.wicket.authorization.IAuthorizationStrategy
public <T extends org.apache.wicket.request.component.IRequestableComponent> boolean isInstantiationAuthorized(Class<T> componentClass)
isInstantiationAuthorized
in interface org.apache.wicket.authorization.IAuthorizationStrategy
Copyright © 2015. All rights reserved.