"Java Security Technology Exploration Path series: Java Extensible Security Architecture" of 20: SASL (a): SASL architecture Introduction. MD

Source: Internet
Author: User
Tags ldap

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

The simple Authentication and Security layer (SASL) defines a protocol for authentication and the creation of a security layer between client and server applications, where the establishment of the security layer is optional. SASL defines how authentication data is exchanged, but does not specify the content of these authentication data. It is just a framework, the content and semantics of the authentication data are specified by the authentication mechanism.

SASL is a standard defined by RFC2222, and is a version 3rd (Lightweight Directory Access Protocol, version 3, LDAP v3) and Internet Message Access Protocol 4th ( Protocols such as Internet Message Access Protocol, version 4, IMAP v4) are used to support pluggable authentication. LDAP v3 and IMAPv4 use SASL to perform authentication through various SASL mechanisms, rather than specifying a specific authentication method.

Java SASL is a new addition to J2SE 5.0, which defines the Java API mechanism in a way that is independent of the authentication mechanism, so that the API should be used
You do not need to specify a specific SASL mechanism. This API facilitates client and server applications so that applications can be based on the required security features
Select the mechanism you want to use, such as whether you are susceptible to passive dictionary attacks and whether you accept anonymous authentication. The Java SASL API also allows developers to create custom SASL mechanisms. The SASL mechanism can be installed using JCA.

SASL provides pluggable authentication solutions and security layers for Web applications, so it works with other API solutions, such as
Jsse and Java GSS. For example, an app can use Jsse to establish a secure channel and then use Sase to execute a client based on a username/password
Certificate Similarly, the SASL mechanism can be placed on top of the GSS-API mechanism to support SASL Gss-api/kerberos for LDAP use V5
Mechanism.

Java Security Technology Exploration Path series: Java Extensible Security Architecture 20: SASL (i): SASL architecture Introduction. 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.