OAuth 2.0 Cookbook: Protect your web applications using Spring Security

Språk
Engelsk
Format
Kategori

Fakta og dokumentar

Efficiently integrate OAuth 2.0 to protect your mobile, desktop, Cloud applications and APIs using Spring Security technologies.

About This Book • Interact with public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google.

• Use Spring Security and Spring Security OAuth2 to implement your own OAuth 2.0 provider

• Learn how to implement OAuth 2.0 native mobile clients for Android applications

Who This Book Is For

This book targets software engineers and security experts who are looking to develop their skills in API security and OAuth 2.0. Prior programming knowledge and a basic understanding of developing web applications are necessary. As this book's recipes mostly use Spring Security and Spring Security OAuth2, some prior experience with Spring Framework will be helpful.

What You Will Learn • Use Redis and relational databases to store issued access tokens and refresh tokens

• Access resources protected by the OAuth2 Provider using Spring Security

• Implement a web application that dynamically registers itself to the Authorization Server

• Improve the safety of your mobile client using dynamic client registration

• Protect your Android client with Proof Key for Code Exchange

• Protect the Authorization Server from invalid redirection

In Detail

OAuth 2.0 is a standard protocol for authorization and focuses on client development simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and so on. This book also provides useful recipes for solving real-life problems using Spring Security and creating Android applications.

The book starts by presenting you how to interact with some public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google. You will also be able to implement your own OAuth 2.0 provider with Spring Security OAuth2. Next, the book will cover practical scenarios regarding some important OAuth 2.0 profiles such as Dynamic Client Registration, Token Introspection and how to revoke issued access tokens. You will then be introduced to the usage of JWT, OpenID Connect, and how to safely implement native mobile OAuth 2.0 Clients.

By the end of this book, you will be able to ensure that both the server and client are protected against common vulnerabilities.

Style and approach

With the help of real-world examples, this book provides step by step recipes for troubleshooting and extending your API security. The book also helps you with accessing and securing data on mobile, desktop, and cloud apps with OAuth 2.0.

© 2017 Packt Publishing (E-bok): 9781788290630

Utgivelsesdato

E-bok: 18. oktober 2017

Tagger

    Andre liker også ...

    1. Ultimate Azure IaaS for Infrastructure Management
      Ultimate Azure IaaS for Infrastructure Management Dean Cefola
    2. The Baby Boomer’s Guide to Surviving Retirement: How to Make Your Retirement Everything You Dream About
      The Baby Boomer’s Guide to Surviving Retirement: How to Make Your Retirement Everything You Dream About C.B. McGee
    3. Boating Safety Exam 2025: Boost your Boating Safety exam prep with engaging audio lessons for ultimate test success!
      Boating Safety Exam 2025: Boost your Boating Safety exam prep with engaging audio lessons for ultimate test success! Asher Blackwood
    4. Real Life Advantage: It's About Gaining a Better Perspective
      Real Life Advantage: It's About Gaining a Better Perspective Kevin T. Strong
    5. Rent-A-Cop Reboot: Time-Saving Tips That Could Save Your Career, Your Butt and Even Your Life
      Rent-A-Cop Reboot: Time-Saving Tips That Could Save Your Career, Your Butt and Even Your Life Theresa Caldwell
    6. Baseball's Best Ever: A Half Century of Covering Hall of Famers
      Baseball's Best Ever: A Half Century of Covering Hall of Famers Ira Berkow
    7. Get Dicey: Play Craps and Have Fun
      Get Dicey: Play Craps and Have Fun Tracy Michigan
    8. The Rookie Renovator's Guide to Flipping Success
      The Rookie Renovator's Guide to Flipping Success Robert E Thomas
    9. Trucking Business Startup: Step-by-Step Guide to Start, Grow and Run your Own Trucking Company in as Little as 30 Days
      Trucking Business Startup: Step-by-Step Guide to Start, Grow and Run your Own Trucking Company in as Little as 30 Days Clement Harrison
    10. Beyond Fear: How I Fought the Feds for Six Years -- And Won
      Beyond Fear: How I Fought the Feds for Six Years -- And Won Ted Giovanis
    11. 976-1313: How Sports Phone Launched Careers and Broke New Ground
      976-1313: How Sports Phone Launched Careers and Broke New Ground Howie Karpin
    12. Something Wonderful Right Away: The Birth of Second City - America's Greatest Comedy Theater
      Something Wonderful Right Away: The Birth of Second City - America's Greatest Comedy Theater Jeffrey Sweet
    13. The Open and Shut Case
      The Open and Shut Case Harry DeMaio
    14. The Usual Suspects - The Ultimate Trivia Collection: From The Movie Directed By Bryan Singer
      The Usual Suspects - The Ultimate Trivia Collection: From The Movie Directed By Bryan Singer Film Trivia Metaverse
    15. Conversations With a Frog: A Little Book About Being Stuck - and Getting Unstuck
      Conversations With a Frog: A Little Book About Being Stuck - and Getting Unstuck Dr. Karl Albrecht
    16. The Other Side of the Wall: A Journey to Transformation and Freedom
      The Other Side of the Wall: A Journey to Transformation and Freedom Garrett T. Smalls
    17. Enhancing Resilience in a Chaotic World: The Role of Infrastructure
      Enhancing Resilience in a Chaotic World: The Role of Infrastructure Carlo Secchi
    18. 15 Seconds of Fame Crafting Viral Content Strategies for TikTok
      15 Seconds of Fame Crafting Viral Content Strategies for TikTok J Maz

    Derfor vil du elske Storytel:

    • Over 900 000 lydbøker og e-bøker

    • Eksklusive nyheter hver uke

    • Lytt og les offline

    • Kids Mode (barnevennlig visning)

    • Avslutt når du vil

    Det mest populære valget

    Unlimited

    For deg som vil lytte og lese ubegrenset.

    219 kr /måned
    • 1 konto

    • Ubegrenset lytting

    • Lytt så mye du vil

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Premium

    For deg som lytter og leser ofte.

    189 kr /måned
    • 1 konto

    • 50 timer/måned

    • Lytt opptil 50 timer per måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud
    Familiens førstevalg

    Family

    For deg som ønsker å dele historier med familien.

    Fra 289 kr/måned
    • 2-3 kontoer

    • Ubegrenset lytting

    • Lytt så mye du vil

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    2 kontoer

    289 kr /måned
    Benytt tilbud

    Basic

    For deg som lytter og leser av og til.

    149 kr /måned
    • 1 konto

    • 20 timer/måned

    • Lytt opp til 20 timer per måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Lytt og les ubegrenset

    Kos deg med ubegrenset tilgang til mer enn 700 000 titler.

    • Lytt og les så mye du vil
    • Utforsk et stort bibliotek med fortellinger
    • Over 1500 serier på norsk
    • Ingen bindingstid, avslutt når du vil
    Prøv gratis
    NO - Details page - Device banner - 894x1036
    Cover for OAuth 2.0 Cookbook: Protect your web applications using Spring Security