tigase.auth
Class SaslAnonymous

java.lang.Object
  extended by tigase.auth.SaslAnonymous
All Implemented Interfaces:
SaslServer

public class SaslAnonymous
extends Object
implements SaslServer

Describe class SaslAnonymous here. Created: Mon Nov 6 09:02:31 2006

Version:
$Rev$
Author:
Artur Hefczyc

Constructor Summary
  SaslAnonymous()
          Creates a new SaslAnonymous instance.
protected SaslAnonymous(Map<? super String,?> props, CallbackHandler callbackHandler)
           
 
Method Summary
 void dispose()
          Describe dispose method here.
 byte[] evaluateResponse(byte[] byteArray)
          Describe evaluateResponse method here.
 String getAuthorizationID()
          Describe getAuthorizationID method here.
 String getMechanismName()
          Describe getMechanismName method here.
 Object getNegotiatedProperty(String string)
          Describe getNegotiatedProperty method here.
 boolean isComplete()
          Describe isComplete method here.
 byte[] unwrap(byte[] byteArray, int n, int n1)
          Describe unwrap method here.
 byte[] wrap(byte[] byteArray, int n, int n1)
          Describe wrap method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaslAnonymous

public SaslAnonymous()
Creates a new SaslAnonymous instance.


SaslAnonymous

protected SaslAnonymous(Map<? super String,?> props,
                        CallbackHandler callbackHandler)
Method Detail

unwrap

public byte[] unwrap(byte[] byteArray,
                     int n,
                     int n1)
              throws SaslException
Describe unwrap method here.

Specified by:
unwrap in interface SaslServer
Parameters:
byteArray - a byte[] value
n - an int value
n1 - an int value
Returns:
a byte[] value
Throws:
SaslException - if an error occurs

evaluateResponse

public byte[] evaluateResponse(byte[] byteArray)
                        throws SaslException
Describe evaluateResponse method here.

Specified by:
evaluateResponse in interface SaslServer
Parameters:
byteArray - a byte[] value
Returns:
a byte[] value
Throws:
SaslException - if an error occurs

getAuthorizationID

public String getAuthorizationID()
Describe getAuthorizationID method here.

Specified by:
getAuthorizationID in interface SaslServer
Returns:
a String value

getMechanismName

public String getMechanismName()
Describe getMechanismName method here.

Specified by:
getMechanismName in interface SaslServer
Returns:
a String value

getNegotiatedProperty

public Object getNegotiatedProperty(String string)
Describe getNegotiatedProperty method here.

Specified by:
getNegotiatedProperty in interface SaslServer
Parameters:
string - a String value
Returns:
an Object value

isComplete

public boolean isComplete()
Describe isComplete method here.

Specified by:
isComplete in interface SaslServer
Returns:
a boolean value

wrap

public byte[] wrap(byte[] byteArray,
                   int n,
                   int n1)
            throws SaslException
Describe wrap method here.

Specified by:
wrap in interface SaslServer
Parameters:
byteArray - a byte[] value
n - an int value
n1 - an int value
Returns:
a byte[] value
Throws:
SaslException - if an error occurs

dispose

public void dispose()
             throws SaslException
Describe dispose method here.

Specified by:
dispose in interface SaslServer
Throws:
SaslException - if an error occurs


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.