Interface AuthorizationProvider

All Known Subinterfaces:
JWTAuthorization, KeycloakAuthorization, MicroProfileAuthorization, MongoAuthorization, PolicyBasedAuthorizationProvider, PropertyFileAuthorization, ScopeAuthorization, SqlAuthorization

public interface AuthorizationProvider
The role of an AuthorizationProvider is to return a set of Authorization. Note that each AuthorizationProvider must provide its own unique Id
Author:
stephane bastian
  • Method Summary

    Modifier and Type
    Method
    Description
    Updates the user with the set of authorizations.
    returns the id of the authorization provider
  • Method Details

    • getId

      String getId()
      returns the id of the authorization provider
      Returns:
    • getAuthorizations

      Future<Void> getAuthorizations(User user)
      Updates the user with the set of authorizations.
      Parameters:
      user - user to lookup and update.
      Returns:
      Future void to signal end of asynchronous call.