mirror of https://github.com/apache/activemq.git
[AMQ-6833] Cleanly close DirContext in LDAPLoginModule when the authentication is complete
This commit is contained in:
parent
d2592e22e5
commit
a1e87c6096
|
@ -332,6 +332,10 @@ public class LDAPLoginModule implements LoginModule {
|
|||
throw ex;
|
||||
}
|
||||
|
||||
if (context != null) {
|
||||
close(context);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue