Interface AuthenticationStatus

All Superinterfaces:
Serializable
All Known Implementing Classes:
AuthenticationStatusImpl

public interface AuthenticationStatus extends Serializable
This interface stores the status of the authentication.
Author:
Harish Prabandham
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    This is the value returned by the Authenticator when the status is AUTH_CONTINUE.
    byte[]
    This is the value returned by the Authenticator when the status is AUTH_CONTINUE.
    int
    This method returns the status of the authentication
  • Field Details

  • Method Details

    • getStatus

      int getStatus()
      This method returns the status of the authentication
      Returns:
      An integer value indicating the status of the authentication
    • getContinuationData

      byte[] getContinuationData()
      This is the value returned by the Authenticator when the status is AUTH_CONTINUE. This data should give an indication to the client on what else it should send to the server to complete the authentication.
      Returns:
      An array of bytes indicating the additional information needed to complete the authentication.
    • getAuthSpecificData

      byte[] getAuthSpecificData()
      This is the value returned by the Authenticator when the status is AUTH_CONTINUE. This data should give an indication to the client on specific authentication it needs to adopt to continue on with the authentication.
      Returns:
      An array of bytes indicating the authentication specific information needed to complete the authentication.