public class DefaultMechanismSelector extends Object implements MechanismSelector
Constructor and Description |
---|
DefaultMechanismSelector() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
filterMechanisms(Enumeration<SaslServerFactory> serverFactories,
XMPPResourceConnection session)
|
void |
init(Map<String,Object> settings)
Initialize selector.
|
protected boolean |
isAllowedForDomain(String mechanismName,
VHostItem vhost) |
protected boolean |
match(SaslServerFactory factory,
String mechanismName,
XMPPResourceConnection session) |
public Collection<String> filterMechanisms(Enumeration<SaslServerFactory> serverFactories, XMPPResourceConnection session)
MechanismSelector
filterMechanisms
in interface MechanismSelector
serverFactories
- SaslServerFactory
enumeration.session
- current sessionpublic void init(Map<String,Object> settings)
MechanismSelector
init
in interface MechanismSelector
settings
- settings of SaslAuth
plugin.protected boolean match(SaslServerFactory factory, String mechanismName, XMPPResourceConnection session)
Copyright © 2018 "Tigase, Inc.". All rights reserved.