|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Credentials
Interface that describes the credentials for a given service or user.
Field Summary | |
---|---|
static String |
CREDENTIAL_PASSWORD
|
static String |
CREDENTIAL_USERNAME
|
Method Summary | |
---|---|
String |
getEndpointId()
Gets the endpoint id. |
Object |
getProperty(String key)
Gets a given property |
String[] |
getPropertyKeys()
Returns the property keys |
boolean |
isPersistent()
Returns whether this credential is persistent A persistent credential is written to a persistent vault. |
void |
removeAllProperties(String key)
Removes all properties |
void |
removeProperty(String key)
Removes a given property |
void |
setProperty(String key,
Object value)
Sets a given property |
Field Detail |
---|
static final String CREDENTIAL_USERNAME
static final String CREDENTIAL_PASSWORD
Method Detail |
---|
String getEndpointId()
Object getProperty(String key)
key
- the key
void setProperty(String key, Object value)
key
- the keyvalue
- the valuevoid removeProperty(String key)
key
- void removeAllProperties(String key)
key
- String[] getPropertyKeys()
boolean isPersistent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |