public abstract class SaslMechanismSelector extends Object
| Modifier and Type | Field and Description |
|---|---|
static SaslMechanismSelector |
ALL |
static SaslMechanismSelector |
DEFAULT |
static SaslMechanismSelector |
NONE |
| Modifier and Type | Method and Description |
|---|---|
SaslMechanismSelector |
addAllRemaining() |
SaslMechanismSelector |
addMatching(SaslMechanismPredicate predicate) |
SaslMechanismSelector |
addMechanism(String mechName) |
SaslMechanismSelector |
addMechanisms(String... mechNames) |
List<String> |
apply(Collection<String> mechNames,
SSLSession sslSession)
Get a list of mechanism names which are matched by this selector in the preferential order that the selector
specifies.
|
Supplier<String> |
createMechanismSupplier(Collection<String> mechNames)
Create a supplier of mechanism names that provides the names of the mechanisms which are matched by
this selector in the preferential order that the selector specifies.
|
Supplier<String> |
createMechanismSupplier(Collection<String> mechNames,
SSLSession sslSession)
Create a supplier of mechanism names that provides the names of the mechanisms which are matched by
this selector in the preferential order that the selector specifies.
|
Supplier<String> |
createMechanismSupplier(String[] mechNames)
Create a supplier of mechanism names that provides the names of the mechanisms which are matched by
this selector in the preferential order that the selector specifies.
|
Supplier<String> |
createMechanismSupplier(String[] mechNames,
SSLSession sslSession)
Create a supplier of mechanism names that provides the names of the mechanisms which are matched by
this selector in the preferential order that the selector specifies.
|
boolean |
equals(Object obj) |
boolean |
equals(SaslMechanismSelector selector) |
SaslMechanismSelector |
forbidMatching(SaslMechanismPredicate predicate) |
SaslMechanismSelector |
forbidMechanism(String mechName) |
SaslMechanismSelector |
forbidMechanisms(String... mechNames) |
static SaslMechanismSelector |
fromString(String string) |
int |
hashCode() |
String |
toString() |
public static final SaslMechanismSelector NONE
public static final SaslMechanismSelector ALL
public static final SaslMechanismSelector DEFAULT
public Supplier<String> createMechanismSupplier(String[] mechNames)
mechNames - the mechanism names (must not be null)null)public Supplier<String> createMechanismSupplier(String[] mechNames, SSLSession sslSession)
mechNames - the mechanism names (must not be null)sslSession - the SSL session, if any is active, or null if SSL is not activenull)public Supplier<String> createMechanismSupplier(Collection<String> mechNames)
mechNames - the mechanism names (must not be null)null)public Supplier<String> createMechanismSupplier(Collection<String> mechNames, SSLSession sslSession)
mechNames - the mechanism names (must not be null)sslSession - the SSL session, if any is active, or null if SSL is not activenull)public List<String> apply(Collection<String> mechNames, SSLSession sslSession)
mechNames - the mechanism names (must not be null)sslSession - the SSL session, if any is active, or null if SSL is not activenull)public SaslMechanismSelector addMechanism(String mechName)
public SaslMechanismSelector addMechanisms(String... mechNames)
public SaslMechanismSelector forbidMechanism(String mechName)
public SaslMechanismSelector forbidMechanisms(String... mechNames)
public SaslMechanismSelector addMatching(SaslMechanismPredicate predicate)
public SaslMechanismSelector forbidMatching(SaslMechanismPredicate predicate)
public SaslMechanismSelector addAllRemaining()
public final boolean equals(SaslMechanismSelector selector)
public static SaslMechanismSelector fromString(String string)
Copyright © 2018 JBoss by Red Hat. All rights reserved.