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