docs: @Deprecated
      private void checkConsumerAuthority(DestinationHandler destination,
                                          String destinationName,
                                          String discriminator,
                                          SecurityContext secContext,
                                          boolean system)
  
                      throws SIDiscriminatorSyntaxException, SINotAuthorizedException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(
                          tc,
                          "checkConsumerAuthority",
                          new Object[] { destination,
                                        destinationName,
                                        discriminator,
                                        secContext,
                                        Boolean.valueOf(system) });
  
          // Check authority to consume from a destination
          if (!destination.isTemporary() && !system)
          {
              boolean allowed = true;
              boolean failingOpisIdentityAdopter = false;
              // Perform the alternate user check first. If an alternateUser was set then we 
              // need to determine whether the connected subject has the authority to perform
              // alternate user checks.
  
              if (secContext.isAlternateUserBased())
              {
                  if (!destination.checkDestinationAccess(secContext,
                                                          OperationType.IDENTITY_ADOPTER))
                  {
                      if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                          SibTr.debug(tc, "checkConsumerAuthority", "not authorized to perform alternate user checks on this destination");
  
                      allowed = false;
                      failingOpisIdentityAdopter = true;
                  }
              }
  
              if (allowed) // ok so far
              {
                  // Check if its the default exc dest
                  if (destinationName.startsWith(SIMPConstants.SYSTEM_DEFAULT_EXCEPTION_DESTINATION_PREFIX))
                  {
                      //If its a def exc dest see if we have access to the prefix.
                      if (!_messageProcessor.
                                      getAccessChecker().
                                      checkDestinationAccess(secContext,
                                                             null, // home bus  
                                                             SIMPConstants.SYSTEM_DEFAULT_EXCEPTION_DESTINATION_PREFIX,
                                                             OperationType.RECEIVE))
                      {
                          allowed = false;
                      }
                  }
                  else
                  {
                      if (!destination.checkDestinationAccess(secContext,
                                                              OperationType.RECEIVE))
                      {
                          allowed = false;
                      }
                  }
              }
  
              if (!allowed)
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                      SibTr.exit(tc, "checkConsumerAuthority", "not authorized to consume from this destination");
  
                  // Get the username
                  String userName = secContext.getUserName(failingOpisIdentityAdopter);
                  OperationType operationType =
                                  failingOpisIdentityAdopter ? OperationType.IDENTITY_ADOPTER :
                                                  OperationType.RECEIVE;
  
                  // Build the message for the Exception and the Notification
                  String nlsMessage =
                                  nls.getFormattedMessage("USER_NOT_AUTH_RECEIVE_ERROR_CWSIP0309",
                                                          new Object[] { destination.getName(),
                                                                        userName },
                                                          null);
  
                  // Fire a Notification if Eventing is enabled
                  _accessChecker.
                                  fireDestinationAccessNotAuthorizedEvent(destination.getName(),
                                                                          userName,
                                                                          operationType,
                                                                          nlsMessage);
  
                  // Thrown if user denied access to destination
                  throw new SINotAuthorizedException(nlsMessage);
              }
          }
  
          // If the discriminator is non-wildcarded, we can check authority to consume on
          // the discriminator.
          if (discriminator != null &&
              !_messageProcessor.getMessageProcessorMatching().isWildCarded(discriminator))
          {
              // set the discriminator into the security context
              secContext.setDiscriminator(discriminator);
              if (!destination.checkDiscriminatorAccess(secContext,
                                                        OperationType.RECEIVE))
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                      SibTr.exit(tc, "checkConsumerAuthority", "not authorized to consume from this destination's discriminator");
                  // Write an audit record if access is denied
                  SibTr.audit(tc, nls.getFormattedMessage(
                                                          "USER_NOT_AUTH_RECEIVE_ERROR_CWSIP0310",
                                                          new Object[] { destination.getName(),
                                                                        discriminator,
                                                                        secContext.getUserName(false) },
                                                          null));
  
                  // Thrown if user denied access to destination
                  throw new SINotAuthorizedException(
                                  nls.getFormattedMessage(
                                                          "USER_NOT_AUTH_RECEIVE_ERROR_CWSIP0310",
                                                          new Object[] { destination.getName(),
                                                                        discriminator,
                                                                        secContext.getUserName(false) },
                                                          null));
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "checkConsumerAuthority");
      }