org.netbeans.lib.collab
Interface SASLData


public interface SASLData

The data and status is sent to and recieved from the custom SASL providers using an object which adhere to this interface.

Author:
Mridul Muralidharan

Field Summary
static int ABORT
           
static int CHALLENGE
           
static int FAILURE
           
static int RESPONSE
           
static int START
          Value's for the 'status'
static int SUCCESS
           
 
Method Summary
 byte[] getRequestData()
          Get and set the data.
 int getRequestStatus()
          Get and set the status.
 void setResponseData(byte[] data)
           
 void setResponseStatus(int status)
           
 

Field Detail

START

public static final int START
Value's for the 'status'

See Also:
Constant Field Values

CHALLENGE

public static final int CHALLENGE
See Also:
Constant Field Values

RESPONSE

public static final int RESPONSE
See Also:
Constant Field Values

FAILURE

public static final int FAILURE
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

ABORT

public static final int ABORT
See Also:
Constant Field Values
Method Detail

getRequestData

public byte[] getRequestData()
Get and set the data. This will be available only to provider's which are not in 'raw' mode. Else it will throw an UnsupportedOperationException


setResponseData

public void setResponseData(byte[] data)

getRequestStatus

public int getRequestStatus()
Get and set the status. This will be available only to provider's which are not in 'raw' mode. Else it will throw an UnsupportedOperationException


setResponseStatus

public void setResponseStatus(int status)