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
SshExceptionpublic void configure(String... matches) throws SshException
configure in interface SecurityPolicySshExceptionpublic SecurityLevel getMinimumSecurityLevel()
getMinimumSecurityLevel in interface SecurityPolicypublic boolean isManagedSecurity()
isManagedSecurity in interface SecurityPolicypublic boolean isDropSecurityAsLastResort()
isDropSecurityAsLastResort in interface SecurityPolicypublic void onIncompatibleSecurity(String host, int port, String remoteIdentification, IncompatibleAlgorithm... reports)
onIncompatibleSecurity in interface SecurityPolicyCopyright © 2025. All rights reserved.