Ok, great, now if I can just get it to redirect when not authorized... throwing RestartResponseAtSignInPageException(); during the authorizationInstantiation gives this exception...
Root cause: wicket.RestartResponseAtInterceptPageException at wicket.Component.<init>(Component.java:550) at wicket.MarkupContainer.<init>(MarkupContainer.java:118) at wicket.Page.<init>(Page.java:228) at wicket.markup.html.WebPage.<init>(WebPage.java:76) at wicket.markup.html.WebPage.<init>(WebPage.java:68) at com.researchjunction.page.ResearchJunctionPage.<init>(ResearchJunctionPage.java:10) at com.researchjunction.page.partner.PartnerAccountInformationPage.<init>(PartnerAccountInformationPage.java:18) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) code... getSecuritySettings().setAuthorizationStrategy( new IAuthorizationStrategy() { public boolean authorizeAction(Component component, Action action) { // TODO Auto-generated method stub return true; } public boolean authorizeInstantiation(Class componentClass) { if (componentClass .equals(PartnerAccountInformationPage.class)) { throw new RestartResponseAtInterceptPageException(PartnerTouchpointPage.class); } return true; } }); Thanks On 2/6/06, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > multiple sign in pages (per role) would be possible, but not > supported by default. you would have to provide the logic and throw > a differently constructed RestartResponseAtInterceptPageException for > each role. but it is certainly possible with just a little work. > > jon > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop