java - What all authentications are taken care of by UnboundId SDK? -
i have active directory on cloud. in our web app using ldap. in discussion build mobile application our enterprise. searched ldap client sdk , got unboundid ldap sdk java. saw examples not figure out how secure use sdk. authentication measure provide? encryption techniques can used it? there other api or sdk can use more secure , reliable?
please help. in advance.
the unboundid ldap sdk java supports ldap simple authentication, number of sasl mechanisms, including anonymous, cram-md5, digest-md5, external, gssapi, , plain. basically, @ subclasses of com.unboundid.ldap.sdk.bindrequest, , many of them have examples demonstrate use.
but since mentioned you're building mobile application, it's important note cram-md5, digest-md5, , gssapi not supported on android because depend on java se feature isn't available in android's java implementation.
as far encryption methods supported, ldap sdk supports encrypting communication ssl/tls, securing existing unencrypted connection via starttls extended operation. if you're using digest-md5 or gssapi authentication , server supports it, may able use sasl integrity or confidentiality qop mechanisms.
also, cram-md5, digest-md5, , gssapi allow authenticate on insecure connection without divulging credentials because provide own mechanism protecting credentials in flight. however, recommend using mechanism protects communication since bind credentials aren't kinds of sensitive information might sent on ldap, , mechanisms don't support protecting credentials when used outside of bind (e.g., when changing password or retrieving them in search result entry).
Comments
Post a Comment