jboss-sasl 1.0.0.Beta1

org.jboss.sasl.digest
Class DigestMD5ServerFactory

java.lang.Object
  extended by org.jboss.sasl.util.AbstractSaslFactory
      extended by org.jboss.sasl.digest.DigestMD5ServerFactory
All Implemented Interfaces:
SaslServerFactory

public final class DigestMD5ServerFactory
extends AbstractSaslFactory
implements SaslServerFactory

Author:
David M. Lloyd

Field Summary
static String DIGEST_MD5
          The name of this mechanism.
 
Constructor Summary
DigestMD5ServerFactory()
          Construct a new instance.
 
Method Summary
 SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
           
protected  boolean isAnonymous()
          Determine whether the algorithm is anonymous.
protected  boolean isPlainText()
          Determine whether the algorithm employs plain text.
 
Methods inherited from class org.jboss.sasl.util.AbstractSaslFactory
getMechanismNames, getPropertyValue, isActiveSusceptible, isDictionarySusceptible, isForwardSecrecy, isIncluded, isPassCredentials, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.security.sasl.SaslServerFactory
getMechanismNames
 

Field Detail

DIGEST_MD5

public static final String DIGEST_MD5
The name of this mechanism.

See Also:
Constant Field Values
Constructor Detail

DigestMD5ServerFactory

public DigestMD5ServerFactory()
Construct a new instance.

Method Detail

createSaslServer

public SaslServer createSaslServer(String mechanism,
                                   String protocol,
                                   String serverName,
                                   Map<String,?> props,
                                   CallbackHandler cbh)
                            throws SaslException
Specified by:
createSaslServer in interface SaslServerFactory
Throws:
SaslException

isAnonymous

protected boolean isAnonymous()
Description copied from class: AbstractSaslFactory
Determine whether the algorithm is anonymous.

Overrides:
isAnonymous in class AbstractSaslFactory
Returns:
true if it is (default is true)

isPlainText

protected boolean isPlainText()
Description copied from class: AbstractSaslFactory
Determine whether the algorithm employs plain text.

Overrides:
isPlainText in class AbstractSaslFactory
Returns:
true if it does so (default is true)

jboss-sasl 1.0.0.Beta1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.