1 13 14 package org.ejbca.core.protocol.ws.client; 15 16 import org.ejbca.ui.cli.IAdminCommand; 17 18 23 public class ejbcawsracli { 24 29 public static void main(String [] args) { 30 try { 31 IAdminCommand cmd = EJBCAWSRACommandFactory.getCommand(args); 32 33 if (cmd != null) { 34 cmd.execute(); 35 } else { 36 System.out.println( 37 "Usage: edituser | finduser | findcerts | pkcs10req | pkcs12req | revokecert | revoketoken | revokeuser | checkrevokationstatus"); 38 } 39 } catch (Exception e) { 40 System.out.println(e.getMessage()); 41 e.printStackTrace(); 42 System.exit(-1); 43 } 44 } 45 } 46 | Popular Tags |