Deadbolt 2

Deadbolt 2

Steve Chaloner
Buy on Leanpub

Table of Contents

1. Deadbolt 2›

  • 1. Deadbolt 2
    • 1.1 About the author
    • 1.2 About the book
  • 2. Introduction
    • 2.1 History
    • 2.2 Java versus Scala
    • 2.3 Versions
    • 2.4 Target audience
    • 2.5 Acknowledgements
    • 2.6 Feedback
  • 3. Root concepts
    • 3.1 Template-level constraints
    • 3.2 Controller-level restrictions
    • 3.3 Core entities
    • 3.4 Hooks
    • 3.5 Static and dynamic constraints

I Deadbolt for Java›

  • 4. Using Deadbolt 2 with Play 2 Java projects
    • 4.1 The Deadbolt Handler
    • 4.2 Expose your DeadboltHandlers with a HandlerCache
    • 4.3 application.conf
  • 5. Java controller constraints
    • 5.1 SubjectPresent
    • 5.2 SubjectNotPresent
    • 5.3 Restrict
    • 5.4 RoleBasedPermissions
    • 5.5 Dynamic
    • 5.6 Pattern
    • 5.7 Unrestricted
    • 5.8 Deferring method-level annotation-driven interceptors
    • 5.9 Invoking DeadboltHandler#beforeAuthCheck independently
    • 5.10 Customising the inputs of annotation-driven actions
  • 6. Deadbolt Java Templates
    • 6.1 subjectPresent
    • 6.2 subjectNotPresent
    • 6.3 Restrict
    • 6.4 Pattern
    • 6.5 Dynamic
  • 7. A deeper look at dynamic rules
    • 7.1 Using sessions and requests in your rules
    • 7.2 Strategies for using dynamic resource handlers
  • 8. Integrating with authentication providers
    • 8.1 Play’s built-in authentication support
    • 8.2 Third-party user management

II Deadbolt for Scala›

  • 9. Using Deadbolt 2 with Play 2 Scala projects
    • 9.1 The Deadbolt Handler
    • 9.2 Expose your DeadboltHandlers with a HandlerCache
    • 9.3 application.conf
    • 9.4 Using compile-time dependency injection
    • 9.5 Tweaking Deadbolt
  • 10. Scala controller constraints
    • 10.1 Controller constraints with the action builder
    • 10.2 Controller constraints with action composition
    • 10.3 SubjectPresent
    • 10.4 SubjectNotPresent
    • 10.5 Restrict
    • 10.6 Pattern
    • 10.7 Dynamic
  • 11. Deadbolt Scala Templates
    • 11.1 Handlers
    • 11.2 SubjectPresent
    • 11.3 SubjectNotPresent
    • 11.4 Restrict
    • 11.5 Pattern
    • 11.6 Dynamic
Deadbolt 2/overview

Deadbolt 2

course_overview

A comprehensive guide to adding authorization to your Play 2 web applications, using Deadbolt 2.

count_parts
·
count_chapters
begin_reading
download
part_count

1. Deadbolt 23 chapters

Begin part ›
  1. 1. Deadbolt 2

  2. 2. Introduction

  3. 3. Root concepts

part_count

I Deadbolt for Java5 chapters

Begin part ›
  1. 4. Using Deadbolt 2 with Play 2 Java projects

  2. 5. Java controller constraints

  3. 6. Deadbolt Java Templates

  4. 7. A deeper look at dynamic rules

  5. 8. Integrating with authentication providers

part_count

II Deadbolt for Scala3 chapters

Begin part ›
  1. 9. Using Deadbolt 2 with Play 2 Scala projects

  2. 10. Scala controller constraints

  3. 11. Deadbolt Scala Templates