symphonyoss / symphony-app-authentication

Symphony third party application authentication
Apache License 2.0
0 stars 4 forks source link

PodCertificateService uses non-api code #28

Open robmoffat opened 5 years ago

robmoffat commented 5 years ago

Line 6:

import sun.security.provider.X509Factory;

Causes a bug in my eclipse.

Consider replacing with:

 public static final java.lang.String BEGIN_CERT = "-----BEGIN CERTIFICATE-----";

      public static final java.lang.String END_CERT = "-----END CERTIFICATE-----";

And using those constants instead.

(I would submit a pull request but I am currently working in a contract role for a bank where open-source submissions and code leakage are carefully monitored and would get me fired :/)