Hi, How do I implement a provider for "DES/CBC/NoPadding". i'm trying to use jaas to authenticate with an Active Directory server through jndi.
the codegives the following output
Joined: Sep 10, 2001
What it is telling you is that the provider that you are trying to use is not installed. In other words it can not find the DES provider. I am not sure how you installed JCE, but to find out if you have the provider look for the sunjce_provider.jar. This jar file should contain the DESCipher class file. Now, if you installed the JCE as an add on you will need to make sure that you have made the JCE accessible in the java.policy file.
I hope this helps.
Joined: May 09, 2004
The libraries are all loaded. this can be proved:
This DOES NOT throw a NoClassDefFoundException, therefore the class exists on the classpath and is loaded correctly. However it does throw a nullpointer:
Is this expected? or could this be the cause of my original error?