TOPIC
Programming Languages.
POSTS
4
OLDEST
2014
NEWEST
2014
All posts.
DEC 18 2014
PowerMock, Testing Private Methods
When refactoring isn't an option, PowerMock's Whitebox.invokeMethod lets you test private Java methods directly. Here's when that's justified and how to do it.
NOV 1 2014
Secure APIs against XEE Attacks (XML Injection Attacks)
Learn how to secure your APIs against XML External Entity (XEE) attacks, including XML Injection and XML Expansion attacks, with practical mitigation steps for Java and RestEasy.
OCT 1 2014
Apache Tomcat Valves, Custom Valve
Learn how to implement and configure custom Apache Tomcat Valves to insert logic into the request processing pipeline before your application code runs.
SEP 1 2014
Input Sanitization: Invalid XML Data, Validation
How to sanitize invalid XML 1.0 characters using a precompiled regex in Java, and how to fix validation failures caused by curl request escaping.