47 lines
910 B
Java
47 lines
910 B
Java
/**
|
|
* Created by IntelliJ IDEA.
|
|
* User: admin
|
|
* Date: Apr 19, 2005
|
|
* Time: 9:48:14 AM
|
|
* To change this template use Options | File Templates.
|
|
*/
|
|
package com.novell.casa;
|
|
|
|
public class NetCredential {
|
|
|
|
private String m_sUsername = "";
|
|
private String m_sPassword = "";
|
|
|
|
public void NetCredential(String username, String password)
|
|
{
|
|
m_sUsername = username;
|
|
m_sPassword = password;
|
|
}
|
|
|
|
public String getUsername()
|
|
{
|
|
return m_sUsername;
|
|
}
|
|
|
|
public String getPassword()
|
|
{
|
|
return m_sPassword;
|
|
}
|
|
|
|
public void setUsername(String sUsername)
|
|
{
|
|
if (sUsername != null)
|
|
{
|
|
m_sUsername = sUsername;
|
|
}
|
|
}
|
|
|
|
public void setPassword(String sPassword)
|
|
{
|
|
if (sPassword != null)
|
|
{
|
|
m_sPassword = sPassword;
|
|
}
|
|
}
|
|
}
|