Package es.ipsa.atril.sec.admin

Examples of es.ipsa.atril.sec.admin.AuthorizationAdminManager.removeUser()


    throws DmsException, ElementNotFoundException, ClassNotFoundException,
         InstantiationException, IllegalAccessException, ClassCastException,
         IllegalStateException, NullPointerException,SecurityException {
    if (getNickName().equals("admin")) throw new SecurityException("Cannot delete admin user");
    AuthorizationAdminManager oAam = oSes.getAuthorizationAdminManager();
    oAam.removeUser(getAdministeredUser());
    BaseModelObject.delete(oSes, id());
    clear();
  }
   
  @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.