@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,
io.getlime.core.rest.model.base.request.ObjectRequest<io.getlime.security.powerauth.rest.api.model.request.VaultUnlockRequest> request,
javax.servlet.http.HttpServletRequest httpServletRequest)
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,
@RequestBody(required=false)
io.getlime.core.rest.model.base.request.ObjectRequest<io.getlime.security.powerauth.rest.api.model.request.VaultUnlockRequest> request,
javax.servlet.http.HttpServletRequest httpServletRequest)
throws PowerAuthAuthenticationException,
PowerAuthSecureVaultException
signatureHeader - PowerAuth signature HTTP header.VaultUnlockResponse payload.PowerAuthAuthenticationException - In case authentication fails.PowerAuthSecureVaultExceptionCopyright © 2017–2018 Lime - HighTech Solutions Inc.. All rights reserved.