Class LdapServerTestResource

java.lang.Object
io.quarkus.test.ldap.LdapServerTestResource
All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager

public class LdapServerTestResource extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context, io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.unboundid.ldap.listener.InMemoryDirectoryServer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    inject(io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector testInjector)
     
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    init, inject, order, setContext
  • Field Details

    • ldapServer

      protected com.unboundid.ldap.listener.InMemoryDirectoryServer ldapServer
  • Constructor Details

    • LdapServerTestResource

      public LdapServerTestResource() throws com.unboundid.ldap.sdk.LDAPException
      Throws:
      com.unboundid.ldap.sdk.LDAPException
  • Method Details

    • start

      public Map<String,String> start()
      Specified by:
      start in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • inject

      public void inject(io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector testInjector)
      Specified by:
      inject in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager