Class UserAuthenticationData

java.lang.Object
org.apache.commons.vfs2.UserAuthenticationData

public class UserAuthenticationData extends Object
Contains various authentication data.
  • Field Details

  • Constructor Details

    • UserAuthenticationData

      public UserAuthenticationData()
      Creates a new uninitialized instance.
  • Method Details

    • setData

      public void setData(UserAuthenticationData.Type type, char[] data)
      Sets a data to this collection.
      Parameters:
      type - The Type to add
      data - The data associated with the Type
    • getData

      public char[] getData(UserAuthenticationData.Type type)
      Gets a data from the collection.
      Parameters:
      type - The Type to retrieve.
      Returns:
      a character array containing the data associated with the type.
    • cleanup

      public void cleanup()
      Deletes all data stored within this authenticator.