|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.connector.XMLCredentialVaultProvider
public class XMLCredentialVaultProvider
Provides instances of credential vaults
Field Summary | |
---|---|
protected ConfigService |
configService
|
protected String |
location
|
Constructor Summary | |
---|---|
XMLCredentialVaultProvider()
Instantiates a new XML credential vault provider. |
Method Summary | |
---|---|
String |
generateKey(String id,
String userId)
Provide a key for this Credential Vault for caching purposes |
CredentialVault |
provide(String id)
Provide a credential vault for the given ID |
void |
setConfigService(ConfigService configService)
Sets the config service. |
void |
setLocation(String location)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ConfigService configService
protected String location
Constructor Detail |
---|
public XMLCredentialVaultProvider()
Method Detail |
---|
public void setConfigService(ConfigService configService)
configService
- the new config servicepublic void setLocation(String location)
public CredentialVault provide(String id) throws CredentialVaultProviderException
CredentialVaultProvider
provide
in interface CredentialVaultProvider
id
- Credential vault ID
CredentialVaultProviderException
public String generateKey(String id, String userId)
CredentialVaultProvider
generateKey
in interface CredentialVaultProvider
id
- Credential vault IDuserId
- User ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |