Security.PasswordWallet Examples
This example reads account information (username and password) from the passwordwallet.
This example assumes that the passwordwallet within the smartsite.security.config file contains the following:
XML | Copy Code |
---|---|
<passwordwallet> <account id="import" username="importuser" password="12345" /> <account id="postcodewebservice" username="test" password="12345" /> </passwordwallet> |
Smartsite SXML | Copy Code |
---|---|
{security.passwordwallet.getusername(import)} {security.passwordwallet.getpassword(import)} |
Example Result | Copy Code |
---|---|
importuser 12345 |