Class Authorizer.Result

    • Constructor Detail

      • Result

        public Result()
    • Method Detail

      • deny

        public static Authorizer.Result deny​(String reason)
        Parameters:
        reason - the reason for which the authorization is denied
        Returns:
        a result that denies the authorization
      • grant

        public static Authorizer.Result grant()
        Returns:
        a result that grants the authorization
      • ignore

        public static Authorizer.Result ignore()
        Returns:
        a result that ignores the authorization, leaving the decision to other Authorizers.
      • isDenied

        public boolean isDenied()
      • isGranted

        public boolean isGranted()