/** Initializes the AccessControl member. */
  private static synchronized AccessControl getaccessControl() {
    if (accessControl == null) {
      accessControl = SpringUtil.getAccessControl();
    }

    return accessControl;
  }
Example #2
0
 /**
  * Initializes the servlet.
  *
  * @throws ServletException Serlvet Init Error.
  */
 @Override
 public void init() throws ServletException {
   super.init();
   accessControl = SpringUtil.getAccessControl();
 }