RUVIDEO
Поделитесь видео 🙏

Securing Spring Boot Application | Json Web Token (JWT) | Introduction | Simple Programming

📁 Обучение 👁️ 16 📅 04.12.2023

Welcome to Simple Programming

A JSON Web Token (JWT) is a JSON object that is defined in RFC 7519 as a safe way to represent a set of information between two parties. The token is composed of a header, a payload, and a signature.


Most of the implementations use JWT nowadays

Usually contains information about the issuer, subject, signed value (make it authentic), expiration time, etc

Client/consumer requests for token, issuer issues the token, and then the client can consume the resource using that token

Encryption: It is the process of locking up information using cryptography. Information that has been locked this way is encrypted.
Decryption: The process of unlocking the encrypted information using cryptographic techniques.
Key: A secret like a password used to encrypt and decrypt information. There are a few different types of keys used in cryptography
Symmetric key - using same key for encryption and decryption of the cipertext
Asymmetric key - using a public and private/secret key

Token History
SAML 1.1/2.0
- most used and popular, XML based, many encryption and signature options. - but u need advance xml parsing engines to work with this
Simple Web Token (SWT) - very simple like a key value pair
- only symmetric signatures, too simple
Json Web Token (JWT)
Json encoded
Symmetric and asymmetric signatures (HMACSHA)
Symmetric and asymmetric encryption (RSA, AES, etc)

Structure
Header
Metadata
Algorithim or keys used
Claims
Issuer claim - like who has issued
Audience Claim - like who can be an audience
IssuedAt
Expiration
Subject - identifier for the claim

{
Typ: JWT
Alg: HS256
}
{
Iss:
Exp:
Aud:
Sub:
Client:
Scope: [READ, WRITE]
}

QWQWQWQWQ&W.9q9wqw87878qwASASAS7878qw.qwqwqwqw7878QWQWQWQWqw
Header. Claims(payload). signature

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Securing Spring Boot Application | Json Web Token (JWT) | Introduction | Simple Programming», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.