Class RolesAllowedCheck

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

public class RolesAllowedCheck extends Object implements SecurityCheck
  • Method Details

    • of

      public static RolesAllowedCheck of(String[] allowedRoles)
    • 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 method, Object[] parameters)
      Specified by:
      apply in interface SecurityCheck
    • doApply

      static void doApply(io.quarkus.security.identity.SecurityIdentity identity, String[] allowedRoles)