Skip to content

Commit bec9d47

Browse files
committed
Add method getPort in ApacheDSContainer
Fixes spring-projectsgh-7236
1 parent 3a83182 commit bec9d47

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ldap/src/main/java/org/springframework/security/ldap/server/ApacheDSContainer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ public void setPort(int port) {
186186
this.port = port;
187187
}
188188

189+
public int getPort() {
190+
return this.port;
191+
}
192+
189193
/**
190194
* If set to {@code true} will enable LDAP over SSL (LDAPs). If set to {@code true}
191195
* {@link ApacheDSContainer#setCertificatePassord(String)} must be set as well.

0 commit comments

Comments
 (0)