Removed the ?: syntax

git-svn-id: https://svn.apache.org/repos/asf/directory/shared/trunk@1636843 13f79535-47bb-0310-9956-ffa450edef68
Added some check for the connection, and authent. If teh conneciton is not authenticated, we bind it.

git-svn-id: https://svn.apache.org/repos/asf/directory/shared/trunk@1636845 13f79535-47bb-0310-9956-ffa450edef68