Skip to content

Commit

Permalink
PI-17138 - was added the annotations to the configuration class for i…
Browse files Browse the repository at this point in the history
…nstantiate the bean on the no arg constructor on the EncryptDeserialize class
  • Loading branch information
cr6jas authored and naponce committed Dec 30, 2019
1 parent eec5477 commit 74dbba3
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
package com.appdirect.sdk.security.encryption.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


import com.appdirect.sdk.security.encryption.EncryptDeserialize;
import com.appdirect.sdk.security.encryption.EncryptSerialize;
import com.appdirect.sdk.security.encryption.service.AESEncryptionServiceImpl;
import com.appdirect.sdk.security.encryption.service.EncryptionService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan
@SpringBootConfiguration
public class EncryptionConfiguration {

@Value("${encryption.key}")
Expand Down

0 comments on commit 74dbba3

Please sign in to comment.