public class AdaptiveSecurityPolicy extends Object implements SecurityPolicy
Constructor and Description |
---|
AdaptiveSecurityPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
configure(String... matches) |
SecurityLevel |
getMinimumSecurityLevel() |
boolean |
isDropSecurityAsLastResort() |
boolean |
isManagedSecurity() |
void |
onIncompatibleSecurity(String host,
int port,
String remoteIdentification,
IncompatibleAlgorithm... reports) |
public AdaptiveSecurityPolicy() throws SshException
SshException
public void configure(String... matches) throws SshException
configure
in interface SecurityPolicy
SshException
public SecurityLevel getMinimumSecurityLevel()
getMinimumSecurityLevel
in interface SecurityPolicy
public boolean isManagedSecurity()
isManagedSecurity
in interface SecurityPolicy
public boolean isDropSecurityAsLastResort()
isDropSecurityAsLastResort
in interface SecurityPolicy
public void onIncompatibleSecurity(String host, int port, String remoteIdentification, IncompatibleAlgorithm... reports)
onIncompatibleSecurity
in interface SecurityPolicy
Copyright © 2024. All rights reserved.