"Java Security Technology Exploration Path series: Java Extensible Security Architecture" 21: SASL (ii): SASL class and interface. MD

Source: Internet
Author: User

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

The Java SASL API has two interfaces:

  • Saslclient: Client mechanism.
  • Saslserver: Server-side mechanism.

The application interacts with the SASL mechanism using the challenge-response protocol and uses a byte array to represent the challenge and response. The server-side mechanism will continually issue the challenge and process the response until it is satisfied, while the client continually evaluates the challenge and responds until the server is satisfied. Each iteration is driven by an application that uses the mechanism, that is, the application extracts a challenge or response from the Protocol group and provides it to the mechanism, and then sends the response or challenge to the peer Agreement group that the mechanism returns, and send it to the peers. In many of the protocols used, KSL, the server advertises (statically or dynamically) the list of SASL mechanisms it supports, and clients can choose one of them according to their own security needs.

"Java Security Technology Exploration Path series: Java Extensible Security Architecture" 21: SASL (ii): SASL class and interface. MD

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.