Package org.wildfly.security.sasl
Class SaslMechanismPredicate.IfPredicate
- java.lang.Object
-
- org.wildfly.security.sasl.SaslMechanismPredicate
-
- org.wildfly.security.sasl.SaslMechanismPredicate.IfPredicate
-
- Enclosing class:
- SaslMechanismPredicate
static class SaslMechanismPredicate.IfPredicate extends SaslMechanismPredicate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wildfly.security.sasl.SaslMechanismPredicate
SaslMechanismPredicate.AllOrNonePredicate, SaslMechanismPredicate.AllPredicate, SaslMechanismPredicate.AnyPredicate, SaslMechanismPredicate.BooleanPredicate, SaslMechanismPredicate.ExactPredicate, SaslMechanismPredicate.FamilyPredicate, SaslMechanismPredicate.HashPredicate, SaslMechanismPredicate.IfPredicate, SaslMechanismPredicate.MultiPredicate, SaslMechanismPredicate.NotPredicate
-
-
Field Summary
Fields Modifier and Type Field Description private SaslMechanismPredicate
conditionPredicate
private SaslMechanismPredicate
falsePredicate
private SaslMechanismPredicate
truePredicate
-
Fields inherited from class org.wildfly.security.sasl.SaslMechanismPredicate
FALSE, MUTUAL, PLUS, TLS_ACTIVE, TRUE
-
-
Constructor Summary
Constructors Constructor Description IfPredicate(SaslMechanismPredicate conditionPredicate, SaslMechanismPredicate truePredicate, SaslMechanismPredicate falsePredicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
calcHashCode()
boolean
equals(SaslMechanismPredicate other)
private boolean
equals(SaslMechanismPredicate.IfPredicate other)
(package private) boolean
test(String mechName, SSLSession sslSession)
(package private) void
toString(StringBuilder b)
-
Methods inherited from class org.wildfly.security.sasl.SaslMechanismPredicate
equals, hashCode, matchAll, matchAllOrNone, matchAny, matchExact, matchFalse, matchFamily, matchHashFunction, matchIf, matchMutual, matchNot, matchPlus, matchTLSActive, matchTrue, not, toString
-
-
-
-
Field Detail
-
conditionPredicate
private final SaslMechanismPredicate conditionPredicate
-
truePredicate
private final SaslMechanismPredicate truePredicate
-
falsePredicate
private final SaslMechanismPredicate falsePredicate
-
-
Constructor Detail
-
IfPredicate
IfPredicate(SaslMechanismPredicate conditionPredicate, SaslMechanismPredicate truePredicate, SaslMechanismPredicate falsePredicate)
-
-
Method Detail
-
test
boolean test(String mechName, SSLSession sslSession)
- Specified by:
test
in classSaslMechanismPredicate
-
toString
void toString(StringBuilder b)
- Specified by:
toString
in classSaslMechanismPredicate
-
equals
public boolean equals(SaslMechanismPredicate other)
- Specified by:
equals
in classSaslMechanismPredicate
-
equals
private boolean equals(SaslMechanismPredicate.IfPredicate other)
-
calcHashCode
int calcHashCode()
- Specified by:
calcHashCode
in classSaslMechanismPredicate
-
-