org.wicketstuff.shiro.authz
Class ShiroUnauthorizedComponentListener
java.lang.Object
org.wicketstuff.shiro.authz.ShiroUnauthorizedComponentListener
- All Implemented Interfaces:
- IUnauthorizedComponentInstantiationListener
public class ShiroUnauthorizedComponentListener
- extends Object
- implements IUnauthorizedComponentInstantiationListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShiroUnauthorizedComponentListener
public ShiroUnauthorizedComponentListener(Class<? extends Page> loginPage,
Class<? extends Page> unauthorizedPage,
AnnotationsShiroAuthorizationStrategy s)
addLoginMessagesAndGetPage
protected Class<? extends Page> addLoginMessagesAndGetPage(ShiroSecurityConstraint constraint,
Component component,
Class<? extends Page> page)
addUnauthorizedMessagesAndGetPage
protected Class<? extends Page> addUnauthorizedMessagesAndGetPage(ShiroSecurityConstraint constraint,
Component component,
Class<? extends Page> page)
getAnnotationStrategy
public AnnotationsShiroAuthorizationStrategy getAnnotationStrategy()
getMessage
protected String getMessage(String key,
ShiroSecurityConstraint anno,
Component comp)
onUnauthorizedInstantiation
public void onUnauthorizedInstantiation(Component component)
-
- Specified by:
onUnauthorizedInstantiation in interface IUnauthorizedComponentInstantiationListener
setAnnotationStrategy
public void setAnnotationStrategy(AnnotationsShiroAuthorizationStrategy annotationStrategy)
Copyright © 2015. All Rights Reserved.