|
jboss-sasl 1.0.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.sasl.util.AbstractSaslFactory
public abstract class AbstractSaslFactory
Abstract SASL factory base class.
Constructor Summary | |
---|---|
protected |
AbstractSaslFactory(String name)
Construct a new instance. |
Method Summary | |
---|---|
String[] |
getMechanismNames(Map<String,?> props)
Get the mechanism names matching the given properties. |
protected boolean |
getPropertyValue(String property,
Map<String,?> props,
boolean defaultValue)
Get a boolean property value from the properties map. |
protected boolean |
isActiveSusceptible()
Determine whether the mechanism is susceptible to active attack. |
protected boolean |
isAnonymous()
Determine whether the algorithm is anonymous. |
protected boolean |
isDictionarySusceptible()
Determine whether the mechanism is susceptible to dictionary (passive) attacks. |
protected boolean |
isForwardSecrecy()
Determine whether forward secrecy is implemented. |
protected boolean |
isIncluded(String... names)
Determine whether our mechanism name is among those given. |
protected boolean |
isPassCredentials()
Determine whether the mechanism passes client credentials. |
protected boolean |
isPlainText()
Determine whether the algorithm employs plain text. |
protected boolean |
matches(Map<String,?> props)
Determine whether the properties match this mechanism. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractSaslFactory(String name)
name
- the mechanism nameMethod Detail |
---|
public String[] getMechanismNames(Map<String,?> props)
props
- the properties
protected boolean matches(Map<String,?> props)
props
- the properties
true
if there is a match, false
otherwiseprotected boolean isPassCredentials()
true
if it does (default is false
)protected boolean isDictionarySusceptible()
true
if it is (default is true
)protected boolean isActiveSusceptible()
true
if it is (default is true
)protected boolean isForwardSecrecy()
true
if it is (default is false
)protected boolean isPlainText()
true
if it does so (default is true
)protected boolean isAnonymous()
true
if it is (default is true
)protected boolean getPropertyValue(String property, Map<String,?> props, boolean defaultValue)
property
- the property nameprops
- the properties mapdefaultValue
- the default value
protected boolean isIncluded(String... names)
names
- the names
true
if the names include our mechanism
|
jboss-sasl 1.0.0.Beta1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |