org.wicketstuff.ki.authz
Class KiUnauthorizedComponentListener

java.lang.Object
  extended by org.wicketstuff.ki.authz.KiUnauthorizedComponentListener
All Implemented Interfaces:
org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener

public class KiUnauthorizedComponentListener
extends java.lang.Object
implements org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener


Constructor Summary
KiUnauthorizedComponentListener(java.lang.Class<? extends org.apache.wicket.Page> loginPage, java.lang.Class<? extends org.apache.wicket.Page> unauthorizedPage, AnnotationsKiAuthorizationStrategy s)
           
 
Method Summary
protected  java.lang.Class<? extends org.apache.wicket.Page> addLoginMessagesAndGetPage(KiSecurityConstraint constraint, org.apache.wicket.Component component, java.lang.Class<? extends org.apache.wicket.Page> page)
           
protected  java.lang.Class<? extends org.apache.wicket.Page> addUnauthorizedMessagesAndGetPage(KiSecurityConstraint constraint, org.apache.wicket.Component component, java.lang.Class<? extends org.apache.wicket.Page> page)
           
 AnnotationsKiAuthorizationStrategy getAnnotationStrategy()
           
protected  java.lang.String getMessage(java.lang.String key, KiSecurityConstraint anno, org.apache.wicket.Component comp)
           
 void onUnauthorizedInstantiation(org.apache.wicket.Component component)
           
 void setAnnotationStrategy(AnnotationsKiAuthorizationStrategy annotationStrategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KiUnauthorizedComponentListener

public KiUnauthorizedComponentListener(java.lang.Class<? extends org.apache.wicket.Page> loginPage,
                                       java.lang.Class<? extends org.apache.wicket.Page> unauthorizedPage,
                                       AnnotationsKiAuthorizationStrategy s)
Method Detail

onUnauthorizedInstantiation

public void onUnauthorizedInstantiation(org.apache.wicket.Component component)
Specified by:
onUnauthorizedInstantiation in interface org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener

getAnnotationStrategy

public AnnotationsKiAuthorizationStrategy getAnnotationStrategy()

setAnnotationStrategy

public void setAnnotationStrategy(AnnotationsKiAuthorizationStrategy annotationStrategy)

addUnauthorizedMessagesAndGetPage

protected java.lang.Class<? extends org.apache.wicket.Page> addUnauthorizedMessagesAndGetPage(KiSecurityConstraint 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(KiSecurityConstraint 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,
                                      KiSecurityConstraint anno,
                                      org.apache.wicket.Component comp)


Copyright © 2010. All Rights Reserved.