|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.psepr.jClient.PsEPRServiceIdentity
public class PsEPRServiceIdentity
Class to hold the identity of the service. At the moment, this is pretty simple since the identity of a service is just it's name and password. But, someday, it will be more complex and this class will have to handle multiple types of identity storage and discovery.
| Constructor Summary | |
|---|---|
PsEPRServiceIdentity()
Create an empty identity. |
|
PsEPRServiceIdentity(java.lang.String servName,
java.lang.String servPassword)
Create a service identity type with the given name and password. |
|
| Method Summary | |
|---|---|
java.lang.String |
getServiceName()
|
java.lang.String |
getServicePassword()
|
boolean |
isSpecified()
Return true of this contains a full specified identity. |
void |
setSimpleIdentity(java.lang.String servName,
java.lang.String servPassword)
Set the parameters for the simple service identity. |
java.lang.String |
toXML()
|
void |
toXML(java.io.Writer wtr)
|
void |
useDefaultIdentity()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PsEPRServiceIdentity()
public PsEPRServiceIdentity(java.lang.String servName,
java.lang.String servPassword)
servName - servPassword - | Method Detail |
|---|
public void useDefaultIdentity()
public boolean isSpecified()
public java.lang.String getServiceName()
public java.lang.String getServicePassword()
public void setSimpleIdentity(java.lang.String servName,
java.lang.String servPassword)
servName - servPassword - public java.lang.String toXML()
public void toXML(java.io.Writer wtr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||