0

I want to implement PAP and CHAP based authentication in my Java project how can I implement ? is there any API available in Java for using that protocol ?

  • 1
    Warning: PAP and CHAP have security problems. If you're forced to use them by a legacy system you have to interoperate with, well, so be it -- but if you're building a new system and have the choice, I do not recommend their use. It is better to use TLS. – D.W. Feb 24 '12 at 6:55
  • What is TLS ? and please elaborate that how should I use that ? – Bhavik Ambani Feb 25 '12 at 4:35
  • Thanks for your interest, Bhavik! Allow me to point out the "Search" bar in the upper-right on this site. It is sometimes useful in answering questions like yours. For instance, here's the second result for a search for "what is TLS?" on this site: What's the difference between SSL, TLS, and HTTPS?. And the first result for a search on "TLS" on Wikipedia also gives good information: Transport Layer Security. – D.W. Feb 25 '12 at 5:48
  • Thans for the details, now the question is how can I implement that thing in my java project ? Have you ever implemented this things ? – Bhavik Ambani Feb 25 '12 at 6:01
  • sorry, but this is the wrong place to ask that question: it is probably out of scope for this site. A web search should turn up plenty of information about how to implement TLS. Try searching on Stack Overflow, too (hint: try a search on adding TLS on Stack Overflow). – D.W. Feb 25 '12 at 6:16
1

This may be what you're looking for:

http://tinyradius.sourceforge.net/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.