Package net.sourceforge.pebble.web.view.impl

Examples of net.sourceforge.pebble.web.view.impl.UsersView


  public View process(HttpServletRequest request, HttpServletResponse response) throws ServletException {
    try {
      Collection<PebbleUserDetails> users = PebbleContext.getInstance().getConfiguration().getSecurityRealm().getUsers();
      getModel().put("users", users);

      return new UsersView();
    } catch (SecurityRealmException e) {
      throw new ServletException(e);
    }
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.pebble.web.view.impl.UsersView

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.