tigase.auth.mechanisms
Class SaslANONYMOUS

java.lang.Object
  extended by tigase.auth.mechanisms.AbstractSasl
      extended by tigase.auth.mechanisms.SaslANONYMOUS
All Implemented Interfaces:
SaslServer

public class SaslANONYMOUS
extends AbstractSasl

SASL-ANONYMOUS mechanism.

Called callbacks in order:


Field Summary
static String IS_ANONYMOUS_PROPERTY
           
 
Fields inherited from class tigase.auth.mechanisms.AbstractSasl
authorizedId, callbackHandler, complete, negotiatedProperty, props
 
Method Summary
 byte[] evaluateResponse(byte[] response)
           
 String getAuthorizationID()
           
 String getMechanismName()
           
 byte[] unwrap(byte[] incoming, int offset, int len)
           
 byte[] wrap(byte[] outgoing, int offset, int len)
           
 
Methods inherited from class tigase.auth.mechanisms.AbstractSasl
dispose, getNegotiatedProperty, handleCallbacks, isComplete, isEmpty, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_ANONYMOUS_PROPERTY

public static final String IS_ANONYMOUS_PROPERTY
See Also:
Constant Field Values
Method Detail

evaluateResponse

public byte[] evaluateResponse(byte[] response)
                        throws SaslException
Throws:
SaslException

getAuthorizationID

public String getAuthorizationID()

getMechanismName

public String getMechanismName()

unwrap

public byte[] unwrap(byte[] incoming,
                     int offset,
                     int len)
              throws SaslException
Throws:
SaslException

wrap

public byte[] wrap(byte[] outgoing,
                   int offset,
                   int len)
            throws SaslException
Throws:
SaslException


Copyright © 2013 Tigase. All rights reserved.