mirror of
https://github.com/apache/nifi.git
synced 2025-02-07 02:28:31 +00:00
NIFI-655:
- Ensuring the protocol is specified.
This commit is contained in:
parent
64beeef593
commit
99016a835e
@ -155,6 +155,11 @@ public class LdapProvider implements LoginIdentityProvider {
|
||||
}
|
||||
}
|
||||
|
||||
// ensure the protocol is specified
|
||||
if (StringUtils.isBlank(rawProtocol)) {
|
||||
throw new ProviderCreationException("TLS - Protocol must be specified.");
|
||||
}
|
||||
|
||||
try {
|
||||
final SSLContext sslContext;
|
||||
if (StringUtils.isBlank(rawKeystore)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user