|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.object.PrivateKey
A class that maintains user login information for a named resource. A named resource can be any string which either uniquely identifies a web application or a URL regexp
A list of these may be found on each WSUser object. We also store these on UserInfo objects for cases where end-users need access to their resource account information.
Field Summary | |
static java.lang.String |
ATT_ACCOUNTID
|
static java.lang.String |
ATT_APPLICATION
|
static java.lang.String |
ATT_ASCII
|
static java.lang.String |
ATT_PASSWORD
|
static java.lang.String |
ATT_URL
|
static java.lang.String |
code_id
|
static java.lang.String |
ELEMENT
|
Constructor Summary | |
PrivateKey()
Create an empty resource info object. |
|
PrivateKey(org.w3c.dom.Element e)
Create a resource info object and initialize it by parsing its DOM representation. |
Method Summary | |
java.lang.String |
getAccountId()
Get the accountId |
java.lang.String |
getApplication()
Get the application name. |
EncryptedData |
getPassword()
Get the password. |
java.lang.String |
getUrl()
Get the resource name |
void |
parseXml(org.w3c.dom.Element e)
Parse the DOM representation of an info object, and set the corresponding fields. |
static PrivateKey[] |
parseXmlArray(org.w3c.dom.Element e)
Parse the DOM representatino for a list of PrivateKey objects, and return them in an array. |
void |
setAccountId(java.lang.String id)
Set the account id. |
void |
setApplication(java.lang.String name)
Set the application name. |
void |
setPassword(EncryptedData p)
Set the password. |
void |
setPassword(java.lang.String p)
Set the password. |
void |
setUrl(java.lang.String url)
Set the account id. |
void |
toXml(java.lang.StringBuffer b,
int indent)
Serialize the resource info object to an XML string buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String ELEMENT
public static final java.lang.String ATT_URL
public static final java.lang.String ATT_APPLICATION
public static final java.lang.String ATT_ACCOUNTID
public static final java.lang.String ATT_PASSWORD
public static final java.lang.String ATT_ASCII
Constructor Detail |
public PrivateKey()
public PrivateKey(org.w3c.dom.Element e) throws WavesetException
Method Detail |
public java.lang.String getApplication()
public void setApplication(java.lang.String name)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getAccountId()
public void setAccountId(java.lang.String id)
public EncryptedData getPassword()
public void setPassword(java.lang.String p)
public void setPassword(EncryptedData p)
public void toXml(java.lang.StringBuffer b, int indent)
public void parseXml(org.w3c.dom.Element e) throws WavesetException
WavesetException
public static PrivateKey[] parseXmlArray(org.w3c.dom.Element e) throws WavesetException
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |