public class DefaultSecurityPolicy extends java.lang.Object implements SecurityPolicy
| Constructor and Description |
|---|
DefaultSecurityPolicy(SecurityLevel minimumSecurity,
boolean managedSecurity) |
| Modifier and Type | Method and Description |
|---|---|
SecurityLevel |
getMinimumSecurityLevel() |
boolean |
isDropSecurityAsLastResort() |
boolean |
isManagedSecurity() |
void |
onIncompatibleSecurity(java.lang.String host,
int port,
java.lang.String remoteIdentification,
IncompatibleAlgorithm... reports) |
public DefaultSecurityPolicy(SecurityLevel minimumSecurity, boolean managedSecurity)
public SecurityLevel getMinimumSecurityLevel()
getMinimumSecurityLevel in interface SecurityPolicypublic boolean isManagedSecurity()
isManagedSecurity in interface SecurityPolicypublic boolean isDropSecurityAsLastResort()
isDropSecurityAsLastResort in interface SecurityPolicypublic void onIncompatibleSecurity(java.lang.String host,
int port,
java.lang.String remoteIdentification,
IncompatibleAlgorithm... reports)
onIncompatibleSecurity in interface SecurityPolicyCopyright © 2022. All rights reserved.