Package org.wildfly.security.sasl
Class SaslMechanismPredicate
- java.lang.Object
-
- org.wildfly.security.sasl.SaslMechanismPredicate
-
- Direct Known Subclasses:
SaslMechanismPredicate.BooleanPredicate
,SaslMechanismPredicate.ExactPredicate
,SaslMechanismPredicate.FamilyPredicate
,SaslMechanismPredicate.HashPredicate
,SaslMechanismPredicate.IfPredicate
,SaslMechanismPredicate.MultiPredicate
,SaslMechanismPredicate.NotPredicate
public abstract class SaslMechanismPredicate extends Object
- Author:
- David M. Lloyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
SaslMechanismPredicate.AllOrNonePredicate
(package private) static class
SaslMechanismPredicate.AllPredicate
(package private) static class
SaslMechanismPredicate.AnyPredicate
(package private) static class
SaslMechanismPredicate.BooleanPredicate
(package private) static class
SaslMechanismPredicate.ExactPredicate
(package private) static class
SaslMechanismPredicate.FamilyPredicate
(package private) static class
SaslMechanismPredicate.HashPredicate
(package private) static class
SaslMechanismPredicate.IfPredicate
(package private) static class
SaslMechanismPredicate.MultiPredicate
(package private) static class
SaslMechanismPredicate.NotPredicate
-
Field Summary
Fields Modifier and Type Field Description (package private) static SaslMechanismPredicate.BooleanPredicate
FALSE
private int
hashCode
(package private) static SaslMechanismPredicate
MUTUAL
(package private) static SaslMechanismPredicate
PLUS
(package private) static SaslMechanismPredicate
TLS_ACTIVE
(package private) static SaslMechanismPredicate.BooleanPredicate
TRUE
-
Constructor Summary
Constructors Constructor Description SaslMechanismPredicate()
-
Method Summary
-
-
-
Field Detail
-
hashCode
private int hashCode
-
TRUE
static final SaslMechanismPredicate.BooleanPredicate TRUE
-
FALSE
static final SaslMechanismPredicate.BooleanPredicate FALSE
-
TLS_ACTIVE
static final SaslMechanismPredicate TLS_ACTIVE
-
PLUS
static final SaslMechanismPredicate PLUS
-
MUTUAL
static final SaslMechanismPredicate MUTUAL
-
-
Method Detail
-
test
abstract boolean test(String mechName, SSLSession sslSession)
-
toString
abstract void toString(StringBuilder b)
-
matchTrue
public static SaslMechanismPredicate matchTrue()
-
matchFalse
public static SaslMechanismPredicate matchFalse()
-
matchAll
public static SaslMechanismPredicate matchAll(SaslMechanismPredicate... predicates)
-
matchAllOrNone
public static SaslMechanismPredicate matchAllOrNone(SaslMechanismPredicate... predicates)
-
matchAny
public static SaslMechanismPredicate matchAny(SaslMechanismPredicate... predicates)
-
matchNot
public static SaslMechanismPredicate matchNot(SaslMechanismPredicate predicate)
-
matchIf
public static SaslMechanismPredicate matchIf(SaslMechanismPredicate conditionPredicate, SaslMechanismPredicate truePredicate, SaslMechanismPredicate falsePredicate)
-
matchExact
public static SaslMechanismPredicate matchExact(String name)
-
matchHashFunction
public static SaslMechanismPredicate matchHashFunction(String digest)
-
matchPlus
public static SaslMechanismPredicate matchPlus()
-
matchMutual
public static SaslMechanismPredicate matchMutual()
-
matchFamily
public static SaslMechanismPredicate matchFamily(String name)
-
matchTLSActive
public static SaslMechanismPredicate matchTLSActive()
-
equals
public abstract boolean equals(SaslMechanismPredicate other)
-
calcHashCode
abstract int calcHashCode()
-
not
SaslMechanismPredicate not()
-
-