|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface public interface CredentialVaultControl
A control to represent an interface to Credential Vault methods
Method Summary | |
---|---|
void |
createCredential(String name,
String description,
String username,
String password,
Map<String,String> metaData,
javax.servlet.http.HttpServletRequest request)
This method will create a new credential. |
void |
deleteCredential(String[] credentialNames,
javax.servlet.http.HttpServletRequest request)
This method will delete the credentials stored within the String[] . |
List<CredentialEntry> |
getCredential(String filterKey,
javax.servlet.http.HttpServletRequest request)
This method will return a List of CredentialEntry
objects. |
void |
updateCredential(String credentialName,
String credentialDescription,
String userName,
String password,
Map<String,String> metaData,
javax.servlet.http.HttpServletRequest request)
This method updates a specific credential. |
Method Detail |
---|
List<CredentialEntry> getCredential(String filterKey, javax.servlet.http.HttpServletRequest request)
List
of CredentialEntry
objects.
filterKey
- - A key used to search for similar credentialsrequest
- - The HttpServletRequest
void createCredential(String name, String description, String username, String password, Map<String,String> metaData, javax.servlet.http.HttpServletRequest request) throws AlreadyExistsException, CredentialAccessException, CredentialVaultException, IllegalArgumentException
name
- - The name of the credential and part of the ResourceKey
along with the scope.description
- - A descriptive message about the credentialusername
- - The username associated with the credentialpassword
- - The password associated with the credentialmetaData
- - The metadata associated with the credentialrequest
- - The HttpServletRequest
AlreadyExistsException
CredentialAccessException
CredentialVaultException
IllegalArgumentException
void deleteCredential(String[] credentialNames, javax.servlet.http.HttpServletRequest request)
String[]
.
credentialNames
- - A String[]
of credentials to deleterequest
- - The HttpServletRequest
void updateCredential(String credentialName, String credentialDescription, String userName, String password, Map<String,String> metaData, javax.servlet.http.HttpServletRequest request) throws CredentialVaultException
credentialName
- - The name of the credential and part of the ResourceKey
along with the scope. This value is part of the key thus it cannot be modified.credentialDescription
- - A descriptive message about the credential. This parameter is modifiable.userName
- - The username associated with the credential. This parameter is modifiable.password
- - The password associated with the credential. This parameter is modifiable.metaData
- - The metadata associated with the credential. This parameter is modifiable.request
- - The HttpServletRequest
CredentialVaultException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |