public final class SecurityCondition extends Condition
SecurityCondition
class is used to represent that the cluster has
been configured for a specific type of security model.SecurityType
Modifier and Type | Field and Description |
---|---|
KDCType |
kdctype
The type of Kerberos when the type of security is
SecurityType.KERBEROS . |
SecurityType |
securityType
The type of security which much be enabled.
|
Constructor and Description |
---|
SecurityCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfied(UpgradeContext upgradeContext)
Asks the condition whether it is currently satisfied.
|
String |
toString() |
public SecurityType securityType
public KDCType kdctype
SecurityType.KERBEROS
.public boolean isSatisfied(UpgradeContext upgradeContext)
isSatisfied
in class Condition
upgradeContext
- the upgrade context.true
if the condition is satisfied, false
otherwise.Copyright © 2022 Apache Software Foundation. All rights reserved.