jboss-sasl 1.0.0.Beta1

org.jboss.sasl.anonymous
Class AnonymousSaslClient

java.lang.Object
  extended by org.jboss.sasl.util.AbstractSaslParticipant
      extended by org.jboss.sasl.util.AbstractSaslClient
          extended by org.jboss.sasl.anonymous.AnonymousSaslClient
All Implemented Interfaces:
SaslClient

public final class AnonymousSaslClient
extends AbstractSaslClient

A client implementation of the RFC 4505 ANONYMOUS mechanism.

Author:
David M. Lloyd

Field Summary
 
Fields inherited from class org.jboss.sasl.util.AbstractSaslParticipant
NO_BYTES
 
Constructor Summary
protected AnonymousSaslClient(String protocol, String serverName, CallbackHandler callbackHandler, String authorizationId)
          Construct a new instance.
 
Method Summary
 
Methods inherited from class org.jboss.sasl.util.AbstractSaslClient
evaluateChallenge, getAuthorizationId, hasInitialResponse
 
Methods inherited from class org.jboss.sasl.util.AbstractSaslParticipant
dispose, getCallbackHandler, getContext, getMechanismName, getNegotiatedProperty, getProtocol, getServerName, getWrapper, handleCallbacks, isComplete, setWrapper, tryHandleCallbacks, unwrap, wrap
 
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.SaslClient
dispose, getMechanismName, getNegotiatedProperty, isComplete, unwrap, wrap
 

Constructor Detail

AnonymousSaslClient

protected AnonymousSaslClient(String protocol,
                              String serverName,
                              CallbackHandler callbackHandler,
                              String authorizationId)
Construct a new instance.

Parameters:
protocol - the protocol
serverName - the server name
callbackHandler - the callback handler to use for authentication
authorizationId - the possibly null protocol-dependent name used for authorization

jboss-sasl 1.0.0.Beta1

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