authentication type and directory