Interface EmbeddedLdapServerContainer
-
- All Known Implementing Classes:
ApacheDSContainer
,UnboundIdContainer
public interface EmbeddedLdapServerContainer
Provides lifecycle services for an embedded LDAP server.- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPort()
Returns the embedded LDAP server port.void
setPort(int port)
The embedded LDAP server port to connect to.
-
-
-
Method Detail
-
getPort
int getPort()
Returns the embedded LDAP server port.- Returns:
- the embedded LDAP server port
-
setPort
void setPort(int port)
The embedded LDAP server port to connect to. Supplying 0 as the port indicates that a random available port should be selected.- Parameters:
port
- the port to connect to
-
-