"Java Security Technology Exploration Path series: Java Extensible Security Architecture" 22: SASL (III): SASL programming model. MD

Source: Internet
Author: User
Tags http digest authentication rfc

--Guo Jia
Email: [Email protected]
Blog: http://blog.csdn.net/allenwells
Github:https://github.com/allenwell

Installing Java SASL

SASL security providers provide implementations of the SASL mechanism, and each provider implementation may support one or more SASL mechanisms that can be registered with JCA. In J2SE 5.0, the default method automatically registers the SUNSASL provider as a JCA provider in the JAVA security properties file, which is located in the $ $JAVA _home/jreaib/securitylava.security directory:

security.provider.7=com.sun.security.sasl.Provider

The Sun Java SASL provider (SUNSASL) supports the SASL mechanism used by a variety of popular protocols, such as LDAP, IMAP, and SMTP.
This includes the following client and server authentication mechanisms:

Client mechanism

    • PLAIN (RFC 2595): Supports clear text user name/password authentication.
    • CRAM-MD5 (RFC 2195): Supports hashed user name/password authentication scheme.
    • DIGEST-MD5 (RFC 2831): Defines how HTTP Digest authentication is used as an SASL mechanism.
    • GSSAPI (RFC 2222): Use GSSAPI to obtain authentication information and support Kerloexos V5 certification.
    • EXTERNAL (RFC 2222): Obtain authentication information from external channels, such as TLS or IPSec.

Server mechanism
-CRAM-MD5
-DIGEST-MD5
-GSSAPI (Kerberos v5)

"Java Security Technology Exploration Path series: Java Extensible Security Architecture" 22: SASL (III): SASL programming model. MD

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.