code: static AuthenticationType convertAuthToEnum(int resAuthType)
      {
          AuthenticationType authType = AuthenticationType.CONTAINER;
  
          if (resAuthType == ResourceRef.AUTH_APPLICATION)
          {
              authType = AuthenticationType.APPLICATION;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "convertAuthToEnum : " + resAuthType + " -> " + authType);
  
          return authType;
      }
docs: d543514