Credential and LDAPs support

Credential and LDAPs support