-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from AuthorizeNet/may-2020
Security issues fix
- Loading branch information
Showing
21 changed files
with
251 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="src" path="resources"/> | ||
<classpathentry kind="src" path="src/test/java"/> | ||
<classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/> | ||
<classpathentry kind="lib" path="lib/httpclient-4.5.3.jar"/> | ||
<classpathentry kind="lib" path="lib/httpcore-4.4.6.jar"/> | ||
<classpathentry kind="src" output="target/classes" path="src/main/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/classes" path="resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="lib" path="lib/junit-4.8.2.jar"/> | ||
<classpathentry kind="lib" path="lib/log4j-1.2.16.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="lib" path="lib/hamcrest-core-1.3.jar"/> | ||
<classpathentry kind="lib" path="lib/hamcrest-library-1.3.jar"/> | ||
<classpathentry kind="lib" path="lib/jmock-2.6.0.jar"/> | ||
<classpathentry kind="lib" path="lib/gson-2.3.1.jar"/> | ||
<classpathentry kind="lib" path="lib/commons-logging-1.2.jar"/> | ||
<classpathentry kind="lib" path="lib/httpclient-4.5.12.jar"/> | ||
<classpathentry kind="lib" path="lib/httpcore-4.4.13.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
################################################################################################################ | ||
For information on how to change this configuration file, | ||
refer to https://logging.apache.org/log4j/2.x/manual/configuration.html | ||
To enable masking of sensitive data, replace `%m` with `%maskedMessage` in the patterns below | ||
################################################################################################################ | ||
--> | ||
|
||
<Configuration status="FATAL"> | ||
<Properties> | ||
<Property name="log-path">./logs</Property> | ||
<Property name="logFileName">net.authorize.java</Property> | ||
</Properties> | ||
<Appenders> | ||
<Console name="LogToConsole" target="SYSTEM_OUT"> | ||
<PatternLayout pattern="%d{MM/dd/yy HH:mm:ss,SS:} [%t] %5p (%C:%-1L) - %m%n"/> | ||
</Console> | ||
<RollingFile name="RollingFile" | ||
fileName="${log-path}/${logFileName}.log" | ||
filePattern="${log-path}/${logFileName}-%d{yyyy-MM-dd}-%i.log"> | ||
<PatternLayout> | ||
<pattern>%d{MM/dd/yy HH:mm:ss,SS:} [%t] %5p (%C:%-1L) - %m%n</pattern> | ||
</PatternLayout> | ||
<Policies> | ||
<TimeBasedTriggeringPolicy interval="1" modulate="true"/> | ||
</Policies> | ||
<DefaultRolloverStrategy max="4"/> | ||
</RollingFile> | ||
</Appenders> | ||
<Loggers> | ||
<Logger name="net.authorize" level="fatal" additivity="true"> | ||
<AppenderRef ref="LogToConsole" level="fatal" /> | ||
</Logger> | ||
<Root level="fatal" additivity="true"> | ||
<AppenderRef ref="RollingFile" /> | ||
</Root> | ||
</Loggers> | ||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.