@Controller @RequestMapping(value="/pa/vault") public class SecureVaultController extends Object
| Constructor and Description |
|---|
SecureVaultController() |
| Modifier and Type | Method and Description |
|---|---|
PowerAuthApiResponse<VaultUnlockResponse> |
unlockVault(String signatureHeader)
Request the vault unlock key.
|
@RequestMapping(value="unlock",
method=POST)
@ResponseBody
public PowerAuthApiResponse<VaultUnlockResponse> unlockVault(@RequestHeader(value="X-PowerAuth-Authorization",required=true,defaultValue="unknown")
String signatureHeader)
throws PowerAuthAuthenticationException,
UnsupportedEncodingException
signatureHeader - PowerAuth signature HTTP header.VaultUnlockResponse payload.PowerAuthAuthenticationException - In case authentication fails.UnsupportedEncodingException - In case UTF-8 is not supported.Copyright © 2016 Lime - HighTech Solutions Inc.. All rights reserved.