public class PasswordCredential extends CredentialDescriptor
Java class for PasswordCredential complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PasswordCredential"> <complexContent> <extension base="{http://ns.taverna.org.uk/2010/xml/server/}CredentialDescriptor"> <sequence> <element name="username" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
password |
protected String |
username |
href, serviceURI
Constructor and Description |
---|
PasswordCredential() |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Gets the value of the password property.
|
String |
getUsername()
Gets the value of the username property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setUsername(String value)
Sets the value of the username property.
|
getHref, getServiceURI, setHref, setServiceURI
public String getUsername()
String
public void setUsername(String value)
value
- allowed object is
String
public String getPassword()
String
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.