Class AbstractInternalKdcServer

java.lang.Object
org.apache.kerby.kerberos.kerb.server.impl.AbstractInternalKdcServer
All Implemented Interfaces:
InternalKdcServer
Direct Known Subclasses:
DefaultInternalKdcServerImpl

public class AbstractInternalKdcServer extends Object implements InternalKdcServer
Abstract KDC server implementation.
  • Constructor Details

    • AbstractInternalKdcServer

      public AbstractInternalKdcServer(KdcSetting kdcSetting)
  • Method Details

    • getSetting

      public KdcSetting getSetting()
      Description copied from interface: InternalKdcServer
      Get KDC setting.
      Specified by:
      getSetting in interface InternalKdcServer
      Returns:
      setting
    • isStarted

      public boolean isStarted()
    • getServiceName

      protected String getServiceName()
    • getIdentityService

      protected org.apache.kerby.kerberos.kerb.identity.IdentityService getIdentityService()
    • init

      public void init() throws org.apache.kerby.kerberos.kerb.KrbException
      Description copied from interface: InternalKdcServer
      Initialize.
      Specified by:
      init in interface InternalKdcServer
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException - e
    • start

      public void start() throws org.apache.kerby.kerberos.kerb.KrbException
      Description copied from interface: InternalKdcServer
      Start the KDC server.
      Specified by:
      start in interface InternalKdcServer
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException - e
    • enableDebug

      public boolean enableDebug()
    • getIdentityBackend

      public org.apache.kerby.kerberos.kerb.identity.backend.IdentityBackend getIdentityBackend()
      Description copied from interface: InternalKdcServer
      Get identity backend.
      Specified by:
      getIdentityBackend in interface InternalKdcServer
      Returns:
      IdentityBackend
    • doStart

      protected void doStart() throws Exception
      Throws:
      Exception
    • stop

      public void stop() throws org.apache.kerby.kerberos.kerb.KrbException
      Description copied from interface: InternalKdcServer
      Stop the KDC server.
      Specified by:
      stop in interface InternalKdcServer
      Throws:
      org.apache.kerby.kerberos.kerb.KrbException - e
    • doStop

      protected void doStop() throws Exception
      Throws:
      Exception