Package org.wicketstuff.shiro.annotation

Examples of org.wicketstuff.shiro.annotation.AnnotationsShiroAuthorizationStrategy


  protected void init()
  {
    getMarkupSettings().setStripWicketTags(true);
   
    // Configure Shiro
    AnnotationsShiroAuthorizationStrategy authz = new AnnotationsShiroAuthorizationStrategy();
    getSecuritySettings().setAuthorizationStrategy(authz);
    getSecuritySettings().setUnauthorizedComponentInstantiationListener(
      new ShiroUnauthorizedComponentListener(LoginPage.class, UnauthorizedPage.class, authz));

    mountPage("account/login", LoginPage.class);
View Full Code Here


  protected void init()
  {
    getMarkupSettings().setStripWicketTags(true);

    // Configure Shiro
    AnnotationsShiroAuthorizationStrategy authz = new AnnotationsShiroAuthorizationStrategy();
    getSecuritySettings().setAuthorizationStrategy(authz);
    getSecuritySettings().setUnauthorizedComponentInstantiationListener(
      new ShiroUnauthorizedComponentListener(LoginPage.class, UnauthorizedPage.class, authz));

    mountPage("account/login", LoginPage.class);
View Full Code Here

TOP

Related Classes of org.wicketstuff.shiro.annotation.AnnotationsShiroAuthorizationStrategy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.