public interface Credentials
| Modifier and Type | Field and Description |
|---|---|
static String |
CREDENTIAL_PASSWORD |
static String |
CREDENTIAL_USERNAME |
| Modifier and Type | Method and Description |
|---|---|
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
|
static final String CREDENTIAL_USERNAME
static final String CREDENTIAL_PASSWORD
String getEndpointId()
Object getProperty(String key)
key - the keyvoid setProperty(String key, Object value)
key - the keyvalue - the valuevoid removeProperty(String key)
key - Stringvoid removeAllProperties(String key)
key - StringString[] getPropertyKeys()
boolean isPersistent()
Copyright © 2005–2016 Alfresco Software. All rights reserved.