@Service(value="upgradeServiceV3") public class UpgradeService extends Object
PowerAuth protocol versions:
| Constructor and Description |
|---|
UpgradeService() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAuthenticationProvider(PowerAuthAuthenticationProvider authenticationProvider) |
void |
setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient) |
io.getlime.core.rest.model.base.response.Response |
upgradeCommit(String signatureHeader,
javax.servlet.http.HttpServletRequest httpServletRequest)
Commit upgrade of activation to version 3.
|
io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse |
upgradeStart(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader header)
Start upgrade of activation to version 3.
|
@Autowired public void setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)
@Autowired public void setAuthenticationProvider(PowerAuthAuthenticationProvider authenticationProvider)
public io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse upgradeStart(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
io.getlime.security.powerauth.http.PowerAuthEncryptionHttpHeader header)
throws PowerAuthUpgradeException
request - ECIES encrypted upgrade start request.header - PowerAuth encryption HTTP header.PowerAuthUpgradeException - In case upgrade start fails.public io.getlime.core.rest.model.base.response.Response upgradeCommit(String signatureHeader, javax.servlet.http.HttpServletRequest httpServletRequest) throws PowerAuthAuthenticationException, PowerAuthUpgradeException
signatureHeader - PowerAuth signature HTTP header.httpServletRequest - HTTP servlet request.PowerAuthAuthenticationException - in case authentication fails.PowerAuthUpgradeException - In case upgrade commit fails.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.