/** * Get identity service. * @return IdentityService */ public IdentityBackend getIdentityService() { if (innerKdc == null) { throw new RuntimeException("Not init yet"); } return innerKdc.getIdentityBackend(); }
/** * Start the KDC server. * * @throws org.apache.kerby.kerberos.kerb.KrbException e. */ public void start() throws KrbException { if (innerKdc == null) { throw new RuntimeException("Not init yet"); } innerKdc.start(); }
/** * Stop the KDC server. * * @throws org.apache.kerby.kerberos.kerb.KrbException e. */ public void stop() throws KrbException { if (innerKdc != null) { innerKdc.stop(); } } }
/** * Initialize. * * @throws org.apache.kerby.kerberos.kerb.KrbException e. */ public void init() throws KrbException { if (startupOptions.contains(KdcServerOption.INNER_KDC_IMPL)) { innerKdc = (InternalKdcServer) startupOptions.getOptionValue( KdcServerOption.INNER_KDC_IMPL); } else { innerKdc = new DefaultInternalKdcServerImpl(kdcSetting); } innerKdc.init(); }
/** * Initialize. * * @throws org.apache.kerby.kerberos.kerb.KrbException e. */ public void init() throws KrbException { if (startupOptions.contains(KdcServerOption.INNER_KDC_IMPL)) { innerKdc = (InternalKdcServer) startupOptions.getOptionValue( KdcServerOption.INNER_KDC_IMPL); } else { innerKdc = new DefaultInternalKdcServerImpl(kdcSetting); } innerKdc.init(); }
/** * Get identity service. * @return IdentityService */ public IdentityBackend getIdentityService() { if (innerKdc == null) { throw new RuntimeException("Not init yet"); } return innerKdc.getIdentityBackend(); }
/** * Stop the KDC server. * * @throws org.apache.kerby.kerberos.kerb.KrbException e. */ public void stop() throws KrbException { if (innerKdc != null) { innerKdc.stop(); } } }
/** * Start the KDC server. * * @throws org.apache.kerby.kerberos.kerb.KrbException e. */ public void start() throws KrbException { if (innerKdc == null) { throw new RuntimeException("Not init yet"); } innerKdc.start(); }