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