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

Add AuthenticationException class to remove hard coded Aliyun authentication class

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0-incubating
    • Component/s: rocketmq-remoting
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: