Skip to main content

What's New in MarkLogic 11

XCC ContentSource.newSession Interface Change

The XCC method ContentSource.newSession has been extended to include a new overload that accepts a char[] value for the password parameter, rather than a String, to enable more secure handling of passwords.

As a consequence of this change, passing null in the password parameter of newSession now results in a compile time error because the compiler cannot determine the correct overload without type information. Use a typecast to disambiguate your call.