Esri Geoportal Server
1.2.9

com.esri.gpt.agp.client
Class AgpCredentials

java.lang.Object
  extended by com.esri.gpt.agp.client.AgpCredentials

public class AgpCredentials
extends Object

The credentials for a connection.


Constructor Summary
AgpCredentials()
          Default constructor.
AgpCredentials(String username, String password)
          Construct with a supplied username and password.
 
Method Summary
 String getPassword()
          Gets the password.
 String getUsername()
          Gets the username.
 void setPassword(String password)
          Sets the password.
 void setUsername(String username)
          Sets the username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgpCredentials

public AgpCredentials()
Default constructor.


AgpCredentials

public AgpCredentials(String username,
                      String password)
Construct with a supplied username and password.

Parameters:
username - the username
password - the password
Method Detail

getPassword

public String getPassword()
Gets the password.

Returns:
the password

setPassword

public void setPassword(String password)
Sets the password.

Parameters:
password - the password

getUsername

public String getUsername()
Gets the username.

Returns:
the username

setUsername

public void setUsername(String username)
Sets the username.

Parameters:
username - the username

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.