@Controller @RequestMapping(value="/pa/vault") public class SecureVaultController extends Object
| Constructor and Description |
|---|
SecureVaultController() |
| Modifier and Type | Method and Description |
|---|---|
void |
setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient) |
io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.VaultUnlockResponse> |
unlockVault(String signatureHeader)
Request the vault unlock key.
|
@Autowired public void setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)
@RequestMapping(value="unlock",
method=POST)
@ResponseBody
public io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.VaultUnlockResponse> unlockVault(@RequestHeader(value="X-PowerAuth-Authorization",defaultValue="unknown")
String signatureHeader)
throws PowerAuthAuthenticationException,
PowerAuthSecureVaultException
signatureHeader - PowerAuth signature HTTP header.VaultUnlockResponse payload.PowerAuthAuthenticationException - In case authentication fails.PowerAuthSecureVaultExceptionCopyright © 2017 Lime - HighTech Solutions Inc.. All rights reserved.