Class ProtectedContentUtil


  • @Service
    public class ProtectedContentUtil
    extends Object
    • Field Detail

      • MAX_INSTANT

        public static final Instant MAX_INSTANT
    • Constructor Detail

      • ProtectedContentUtil

        public ProtectedContentUtil​(ProtectedContentRepository protContentRepository,
                                    @Value("${protectionSecret:mJvR25yt4NHTIqe5Hz7nUHhQNUuM}")
                                    String protectionSecretFallback,
                                    @Value("${ca3s.protectionSecret:#{null}}")
                                    String protectionSecret,
                                    @Value("${ca3s.connection.salt:ca3sSalt}")
                                    String salt,
                                    @Value("${ca3s.connection.iterations:4567}")
                                    int iterations,
                                    @Value("${ca3s.connection.pbeAlgo:PBKDF2WithHmacSHA256}")
                                    String pbeAlgo)