Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-138

Add AuthenticationException class to remove hard coded Aliyun authentication class

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.1.0-incubating
    • rocketmq-remoting
    • None

    Description

      in NettyRemotingAbstract.java

      a hard coded aliyun class is used

      catch (Throwable e) {
                              if (!"com.aliyun.openservices.ons.api.impl.authority.exception.AuthenticationException"
                                  .equals(e.getClass().getCanonicalName())) {
                                  PLOG.error("process request exception", e);
                                  PLOG.error(cmd.toString());
                              }
      

      A common AuthenticationException should be added to identify Authentication failure. Developers can throw this exception so that remoting component can ignore it

      Attachments

        Activity

          People

            Jaskey Jaskey Lam
            Jaskey Jaskey Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment