Class LoginInfo

java.lang.Object
com.sun.appserv.management.client.prefs.LoginInfo
All Implemented Interfaces:
Comparable<LoginInfo>

public final class LoginInfo extends Object implements Comparable<LoginInfo>
An immutable class that represents an arbitrary LoginInfo for Appserver Administration Client. A LoginInfo is specific to an admin host and admin port. Thus, with this scheme, there can be at the most one LoginInfo for an operating system user of Appserver, for a given admin host and admin port.
Since:
Appserver 9.0
  • Constructor Details

    • LoginInfo

      public LoginInfo(String host, int port, String user, char[] password)
      Creates an Immutable instance of a LoginInfo from given 4-tuple. The host, user and password may not be null. The port may not be a negative integer.
      Parameters:
      host - String representing host
      port - integer representing port
      user - String representing user
      password - String representing password
      Throws:
      IllegalArgumentException - if parameter contract is violated
  • Method Details