Class SupplierRolesAllowedCheck

java.lang.Object
io.quarkus.security.runtime.interceptor.check.SupplierRolesAllowedCheck
All Implemented Interfaces:
SecurityCheck

public class SupplierRolesAllowedCheck extends Object implements SecurityCheck
  • Constructor Details

    • SupplierRolesAllowedCheck

      public SupplierRolesAllowedCheck(Supplier<String[]> allowedRolesSupplier)
  • Method Details

    • apply

      public void apply(io.quarkus.security.identity.SecurityIdentity identity, Method method, Object[] parameters)
      Specified by:
      apply in interface SecurityCheck
    • apply

      public void apply(io.quarkus.security.identity.SecurityIdentity identity, MethodDescription methodDescription, Object[] parameters)
      Specified by:
      apply in interface SecurityCheck
    • resolveAllowedRoles

      public void resolveAllowedRoles()