The WebSphere Portal Credential builder adds a Linked Java Object and its method to your model.
The LJO class is an implementation of a Credential Vault interface.
The LJO methods can be used in your model to set (Credential Vault only) or retrieve user credentials and also to check if credentials exist.
The following methods are available for Credential Vault interfaces:
String getUserID(WebAppAccess webAppAccess)
Returns user ID for the current resource.String getPassword(WebAppAccess webAppAccess)
Returns user password for the current resource.boolean doesCredentialExist(WebAppAccess webAppAccess)
Checks if there are credentials for the current uservoid setUserPasswordCredential(WebAppAccess webAppAccess, String userID, String password)
Sets user password credentials for the current resource slot. (This method is available for the Credential Vault only.)
Parent topic: WebSphere Portal Credential builder: wpf7