Class AuthToken

  • Direct Known Subclasses:
    X509AuthToken

    public class AuthToken
    extends java.lang.Object
    Basic authentication token.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] authdata
      The main authentication data.
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthToken()
      Creates an empty token.
      AuthToken​(byte[] authdata)
      Creates a token.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getAuthData()
      Gets authentication data.
      void setAuthData​(byte[] authdata)
      Sets authentication data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • authdata

        protected byte[] authdata
        The main authentication data.
    • Constructor Detail

      • AuthToken

        public AuthToken()
        Creates an empty token.
      • AuthToken

        public AuthToken​(byte[] authdata)
        Creates a token.
    • Method Detail

      • getAuthData

        public byte[] getAuthData()
        Gets authentication data.
        Returns:
        Authentication data.
      • setAuthData

        public void setAuthData​(byte[] authdata)
        Sets authentication data.
        Parameters:
        authdata - Authentication data.