Identity Management (MOSC)

MOSC Banner

Using OID SASL (DIGEST-MD5) from java app (qop: auth-conf) Error - INFO: DIGEST41:Unmatched MACs

Hi,

I'm trying to use OID's (11.1.1.7.0) SASL authentication (DIGEST-MD5) from a small Java utility and that is working. Just using

QOP "auth" (Authentication Only) or "auto-int" (Authentication with Integrity Protection) works, but when I'm setting QOP to

"auth-conf" (Authentication with Integrity and Privacy Protection) authentication works, it even retrieves some results, but then

it fails with the follwing error and hangs:

com.sun.security.sasl.digest.DigestMD5Base$DigestPrivacy unwrap

INFO: DIGEST41:Unmatched MACs

Part of the java code:

        env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");

        env.put(Context.PROVIDER_URL, strURL);

        env.put(Context.SECURITY_AUTHENTICATION, "DIGEST-MD5");

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center