Class LoginData


  • public class LoginData
    extends java.lang.Object
    Class that holds user name and password.
    Version:
    1.3
    Author:
    Ivan Pribela
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String name
      User name.
      char[] password
      User password.
    • Constructor Summary

      Constructors 
      Constructor Description
      LoginData​(java.lang.String name, char[] password)
      Creates a new object that holds specified user name and password.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearPassword()
      Utility method that wipes the stored password.
      • Methods inherited from class java.lang.Object

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

      • name

        public final java.lang.String name
        User name.
      • password

        public final char[] password
        User password.
    • Constructor Detail

      • LoginData

        public LoginData​(java.lang.String name,
                         char[] password)
        Creates a new object that holds specified user name and password.
        Parameters:
        name - user name.
        password - password.
    • Method Detail

      • clearPassword

        public void clearPassword()
        Utility method that wipes the stored password.