Package org.ejbca.ui.cli

Examples of org.ejbca.ui.cli.ErrorAdminCommandException


                  CertTools.getIssuerDN(orgCert) + " successfully sent for approval.");
            } else {
              displayRequestErrors(revokeResultType);
            }
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here


                getLogger().info(" Type: "+ca.getCAType());
                getLogger().info(" Expire time: "+ca.getExpireTime());
                getLogger().info(" Signed by: "+ca.getSignedBy());
            }
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

            }else{
              displayRequestErrors(registerResultType);
            }
   
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

                return;
            }
            String groupName = args[1];
            ejb.getAdminGroupSession().addAdminGroup(getAdmin(), groupName);
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

                getLogger().info("Keys corresponding to given certificate has been marked for recovery.");                          
            } else {
                getLogger().info("Failed to mark keys corresponding to given certificate for recovery.");                          
            }
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

        getLogger().info("Wrote latest " + (deltaSelector?"delta ":"") + "CRL to " + outfile + " using " + (pem?"PEM":"DER") + " format");
      } else {
        getLogger().info("No " + (deltaSelector?"delta ":"") + "CRL exists for CA "+caname+".");       
      }
    } catch (Exception e) {
      throw new ErrorAdminCommandException(e);
    }
    }
View Full Code Here

                }
            } catch (AuthorizationDeniedException e) {
                getLogger().error("Error : Not authorized to view user.");
            }
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

              getLogger().info("Please run '" + new RaRevokeUserCommand().getMainCommand() + " " + new RaRevokeUserCommand().getSubCommand() + " " + username + "'.");
            }
        } catch (NotFoundException e) {
          getLogger().error("No such user.");
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

                getLogger().info("New User: " + data.getUsername() + ", \"" + data.getDN() +
                    "\", \"" + data.getSubjectAltName() + "\", " + data.getEmail() + ", " +
                    data.getStatus() + ", " + data.getType() + ", " + data.getTokenType());
            }
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

                } else {
                    getLogger().info("No certificate profile id exists for user " + data.getUsername());
                }
            }
        } catch (Exception e) {
            throw new ErrorAdminCommandException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.ejbca.ui.cli.ErrorAdminCommandException

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.