|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.webscripts.ScriptCredentialVault
public final class ScriptCredentialVault
Represents the credential vault to the script engine This exposes credentials from the vault which are "user" managed
| Field Summary | |
|---|---|
protected ScriptableMap<String,Serializable> |
properties
|
| Constructor Summary | |
|---|---|
ScriptCredentialVault(CredentialVault vault,
User user)
Constructs a new ScriptCredentialVault object. |
|
| Method Summary | |
|---|---|
ScriptableMap<String,Serializable> |
getProperties()
Returns the properties of the credential vault |
User |
getUser()
Returns the user to whom this credential vault belongs |
boolean |
hasCredentials(String endpointId)
Returns whether the given endpoint credentials are stored on this vault |
ScriptCredentials |
newCredentials(String endpointId)
Creates new credentials and binds them into this vault. |
void |
removeCredentials(String endpointId)
Removes credentials from the vault |
void |
save()
Saves the credential vault |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ScriptableMap<String,Serializable> properties
| Constructor Detail |
|---|
public ScriptCredentialVault(CredentialVault vault,
User user)
vault - The credential vault instanceuser - The user to whom the credential vault belongs| Method Detail |
|---|
public ScriptableMap<String,Serializable> getProperties()
public User getUser()
public boolean hasCredentials(String endpointId)
endpointId -
public ScriptCredentials newCredentials(String endpointId)
endpointId -
public void removeCredentials(String endpointId)
endpointId - public void save()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||