Package org.wicketstuff.security.hive.authentication

Examples of org.wicketstuff.security.hive.authentication.CustomLoginContext


      {
        context = new PrimaryLoginContext();
      }
      else if ("all".equals(username))
      {
        context = new CustomLoginContext(new SimplePrincipal("all permissions"));
      }
      else
      {
        context = new CustomLoginContext(new SimplePrincipal(username));
      }
      ((WaspSession)Session.get()).login(context);
      continueToOriginalDestination();
      // or
      setResponsePage(Application.get().getHomePage());
View Full Code Here

TOP

Related Classes of org.wicketstuff.security.hive.authentication.CustomLoginContext

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.