Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

Pre-Authorize Checks on Methods #5

Description

@godwinpinto

Feature:
Currently an authenticated system user has access to all features. This feature request call for creation of methods or sections using Method Security in spring to allow only access to set in DB

Why:
A User facing application API may have access to all TOTP APIs other than unblock. While administration API may not have access to generate TOTP or QR. This will clearly segregate the purpose of role for which system users are being created.

Solution:

  1. Create a feature table in database that will decide which methods are accessible to which system user.
  2. Using method security and Spring grant authority check at method level on which methods are allowed access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions