java.lang.Object
io.getlime.security.powerauth.rest.api.spring.service.v2.SecureVaultService

@Service("secureVaultServiceV2")
public class SecureVaultService
extends Object
Service implementing secure vault functionality.

PowerAuth protocol versions:

  • 2.0
  • 2.1
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Details

    • SecureVaultService

      @Autowired public SecureVaultService​(com.wultra.security.powerauth.client.PowerAuthClient powerAuthClient, PowerAuthAuthenticationProvider authenticationProvider, HttpCustomizationService httpCustomizationService)
      Service constructor.
      Parameters:
      powerAuthClient - PowerAuth client.
      authenticationProvider - Authentication provider.
      httpCustomizationService - HTTP customization service.
  • Method Details

    • vaultUnlock

      public io.getlime.security.powerauth.rest.api.model.response.v2.VaultUnlockResponse vaultUnlock​(String signatureHeader, io.getlime.security.powerauth.rest.api.model.request.v2.VaultUnlockRequest request, javax.servlet.http.HttpServletRequest httpServletRequest) throws PowerAuthSecureVaultException, PowerAuthAuthenticationException
      Unlock secure vault.
      Parameters:
      signatureHeader - PowerAuth signature HTTP header.
      request - Vault unlock request.
      httpServletRequest - HTTP servlet request.
      Returns:
      Vault unlock response.
      Throws:
      PowerAuthSecureVaultException - In case vault unlock fails.
      PowerAuthAuthenticationException - In case authentication fails.