CESNET/perun — pull request #558 by zlamalp (2014-10-27 11:10:00+00:00)
Title: REGISTRAR, CORE: fixed parsing common name

CORE

- Parse parts of common name only if matcher.find() returns true.
- This cause method to return map with "namePart"=null on no match
instead of throwing an exception.

REGISTRAR

- Added checks to call parseCommonName() only on non-empty and != null input.